[commit: ghc] master: Fix warnings on Win64 (1dbe6d5)
Ian Lynagh
igloo at earth.li
Fri Apr 27 16:22:54 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/1dbe6d59b621ab9bd836241d633b3a8d99812cb3
>---------------------------------------------------------------
commit 1dbe6d59b621ab9bd836241d633b3a8d99812cb3
Author: Ian Lynagh <igloo at earth.li>
Date: Thu Apr 26 16:52:44 2012 +0100
Fix warnings on Win64
Mostly this meant getting pointer<->int conversions to use the right
sizes. lnat is now size_t, rather than unsigned long, as that seems a
better match for how it's used.
includes/Rts.h | 15 ++++++++++++---
includes/mkDerivedConstants.c | 2 +-
includes/rts/Hooks.h | 6 +++---
includes/rts/Types.h | 4 ++--
rts/Capability.c | 4 ++--
rts/Disassembler.c | 18 +++++++++---------
rts/Linker.c | 32 ++++++++++++++++++++++++--------
rts/Printer.c | 24 ++++++++++++------------
rts/ProfHeap.c | 2 +-
rts/RtsFlags.c | 2 +-
rts/Stats.c | 19 ++++++++++---------
rts/Stats.h | 2 +-
rts/Task.c | 4 ++--
rts/Ticky.c | 26 +++++++++++++-------------
rts/Trace.c | 26 +++++++++++++-------------
rts/hooks/MallocFail.c | 2 +-
rts/hooks/OutOfHeap.c | 2 +-
rts/hooks/StackOverflow.c | 2 +-
rts/sm/Sanity.c | 18 +++++++++---------
rts/sm/Scav.c | 4 ++--
rts/win32/IOManager.c | 2 +-
rts/win32/OSMem.c | 4 ++--
22 files changed, 123 insertions(+), 97 deletions(-)
Diff suppressed because of size. To see it, use:
git show 1dbe6d59b621ab9bd836241d633b3a8d99812cb3
More information about the Cvs-ghc
mailing list