mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
Fix format-related warnings during build of jam.
This commit is contained in:
parent
e5a1aa929a
commit
bc712e7525
@ -297,7 +297,7 @@ execwait()
|
||||
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 @@ var_expand(
|
||||
int depth;
|
||||
|
||||
if( DEBUG_VAREXP )
|
||||
printf( "expand '%.*s'\n", end - in, in );
|
||||
printf( "expand '%.*s'\n", (int)(end - in), in );
|
||||
|
||||
/* This gets alot of cases: $(<) and $(>) */
|
||||
|
||||
|
@ -252,6 +252,6 @@ hashstat( struct hash *hp )
|
||||
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 @@ hcache_done()
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user