Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/203afa1ca506ac2bc58298d55f44bbcba27b7090 >--------------------------------------------------------------- commit 203afa1ca506ac2bc58298d55f44bbcba27b7090 Author: Ian Lynagh <[email protected]> Date: Wed May 9 14:49:48 2012 +0100 Don't pointlessly cast sizeof's result to size_t >--------------------------------------------------------------- rts/Linker.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rts/Linker.c b/rts/Linker.c index 15e61ba..b23ff93 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -3645,7 +3645,7 @@ ocGetNames_PEi386 ( ObjectCode* oc ) } if (kind != SECTIONKIND_OTHER && end >= start) { - if ((((size_t)(start)) % (size_t)sizeof(void *)) != 0) { + if ((((size_t)(start)) % sizeof(void *)) != 0) { barf("Misaligned section: %p", start); } _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
