Fix format-related warnings during build of jam.
Diff
jam/execunix.c | 2 +-
jam/expand.c | 2 +-
jam/hash.c | 2 +-
jam/hcache.c | 6 ++++--
4 files changed, 6 insertions(+), 6 deletions(-)
@@ -297,7 +297,7 @@
break;
if( i == MAXJOBS )
printf( "jam: waif child process %ld found, ignoring it!\n", w );
printf( "jam: waif child process %d found, ignoring it!\n", w );
} while( i == MAXJOBS );
# ifdef USE_EXECNT
@@ -81,7 +81,7 @@
int depth;
if( DEBUG_VAREXP )
printf( "expand '%.*s'\n", end - in, in );
printf( "expand '%.*s'\n", (int)(end - in), in );
@@ -252,6 +252,6 @@
hp->items.nel,
hp->tab.nel,
hp->items.nel * hp->items.size / 1024,
hp->tab.nel * sizeof( ITEM ** ) / 1024,
(int)(hp->tab.nel * sizeof( ITEM ** ) / 1024),
(float)count / (float)sets );
}
@@ -313,10 +313,10 @@
else if (c->age > maxage)
continue;
sprintf(includes_count_str, "%lu", list_length(c->includes));
sprintf(hdrscan_count_str, "%lu", list_length(c->hdrscan));
sprintf(includes_count_str, "%u", list_length(c->includes));
sprintf(hdrscan_count_str, "%u", list_length(c->hdrscan));
sprintf(time_str, "%lu", c->time);
sprintf(age_str, "%lu", c->age);
sprintf(age_str, "%u", c->age);
write_netstring(f, CACHE_RECORD_HEADER);
write_netstring(f, c->boundname);