Fix build on OS X
authorIan Lynagh <igloo@earth.li>
Fri, 14 Sep 2012 10:43:12 +0000 (11:43 +0100)
committerIan Lynagh <igloo@earth.li>
Fri, 14 Sep 2012 10:43:12 +0000 (11:43 +0100)
includes/mkDerivedConstants.c

index e014d15..69c87f0 100644 (file)
@@ -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");