Index: tools/jam/src/hash.c =================================================================== --- tools/jam/src/hash.c (revision 57837) +++ tools/jam/src/hash.c (working copy) @@ -448,12 +448,12 @@ run = here; } - printf( "%s table: %d+%d+%d (%dK+%ldK) items+table+hash, %f density\n", + printf( "%s table: %d+%d+%d (%dK+%luK) items+table+hash, %f density\n", hp->name, count, hp->items.nel, hp->tab.nel, hp->items.nel * hp->items.size / 1024, - hp->tab.nel * sizeof( ITEM ** ) / 1024, + (long unsigned)hp->tab.nel * sizeof( ITEM ** ) / 1024, (float)count / (float)sets ); } Index: tools/jam/src/hcache.c =================================================================== --- tools/jam/src/hcache.c (revision 57837) +++ tools/jam/src/hcache.c (working copy) @@ -166,7 +166,7 @@ { if ( !s ) s = ""; - fprintf( f, "%lu\t%s\n", strlen( s ), s ); + fprintf( f, "%lu\t%s\n", (long unsigned)strlen( s ), s ); }