[commit: ghc] master: Fix build on OS X (f4d0e62)
Ian Lynagh <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <[email protected]> |
Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master http://hackage.haskell.org/trac/ghc/changeset/f4d0e6282da7b37fe019aaf91a32d3f958ceec64 >--------------------------------------------------------------- commit f4d0e6282da7b37fe019aaf91a32d3f958ceec64 Author: Ian Lynagh <[email protected]> Date: Fri Sep 14 11:43:12 2012 +0100 Fix build on OS X >--------------------------------------------------------------- includes/mkDerivedConstants.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/includes/mkDerivedConstants.c b/includes/mkDerivedConstants.c index e014d15..69c87f0 100644 --- a/includes/mkDerivedConstants.c +++ b/includes/mkDerivedConstants.c @@ -346,7 +346,7 @@ main(int argc, char *argv[]) printf("#define BLOCK_SIZE %u\n", BLOCK_SIZE); printf("#define MBLOCK_SIZE %u\n", MBLOCK_SIZE); - printf("#define BLOCKS_PER_MBLOCK %" FMT_SizeT "\n", (W_)BLOCKS_PER_MBLOCK); + printf("#define BLOCKS_PER_MBLOCK %" FMT_Word "\n", (W_)BLOCKS_PER_MBLOCK); // could be derived, but better to save doing the calculation twice printf("\n\n");