Ticket #3656: bjam-gcc-printf-warning-cleanup.patch
File bjam-gcc-printf-warning-cleanup.patch, 1.0 KB (added by , 13 years ago) |
---|
-
tools/jam/src/hash.c
448 448 run = here; 449 449 } 450 450 451 printf( "%s table: %d+%d+%d (%dK+%l dK) items+table+hash, %f density\n",451 printf( "%s table: %d+%d+%d (%dK+%luK) items+table+hash, %f density\n", 452 452 hp->name, 453 453 count, 454 454 hp->items.nel, 455 455 hp->tab.nel, 456 456 hp->items.nel * hp->items.size / 1024, 457 hp->tab.nel * sizeof( ITEM ** ) / 1024,457 (long unsigned)hp->tab.nel * sizeof( ITEM ** ) / 1024, 458 458 (float)count / (float)sets ); 459 459 } -
tools/jam/src/hcache.c
166 166 { 167 167 if ( !s ) 168 168 s = ""; 169 fprintf( f, "%lu\t%s\n", strlen( s ), s );169 fprintf( f, "%lu\t%s\n", (long unsigned)strlen( s ), s ); 170 170 } 171 171 172 172