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;
|
break;
|
||||||
|
|
||||||
if( i == MAXJOBS )
|
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 );
|
} while( i == MAXJOBS );
|
||||||
|
|
||||||
# ifdef USE_EXECNT
|
# ifdef USE_EXECNT
|
||||||
|
@ -81,7 +81,7 @@ var_expand(
|
|||||||
int depth;
|
int depth;
|
||||||
|
|
||||||
if( DEBUG_VAREXP )
|
if( DEBUG_VAREXP )
|
||||||
printf( "expand '%.*s'\n", end - in, in );
|
printf( "expand '%.*s'\n", (int)(end - in), in );
|
||||||
|
|
||||||
/* This gets alot of cases: $(<) and $(>) */
|
/* This gets alot of cases: $(<) and $(>) */
|
||||||
|
|
||||||
|
@ -252,6 +252,6 @@ hashstat( struct hash *hp )
|
|||||||
hp->items.nel,
|
hp->items.nel,
|
||||||
hp->tab.nel,
|
hp->tab.nel,
|
||||||
hp->items.nel * hp->items.size / 1024,
|
hp->items.nel * hp->items.size / 1024,
|
||||||
hp->tab.nel * sizeof( ITEM ** ) / 1024,
|
(int)(hp->tab.nel * sizeof( ITEM ** ) / 1024),
|
||||||
(float)count / (float)sets );
|
(float)count / (float)sets );
|
||||||
}
|
}
|
||||||
|
@ -313,10 +313,10 @@ hcache_done()
|
|||||||
else if (c->age > maxage)
|
else if (c->age > maxage)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
sprintf(includes_count_str, "%lu", list_length(c->includes));
|
sprintf(includes_count_str, "%u", list_length(c->includes));
|
||||||
sprintf(hdrscan_count_str, "%lu", list_length(c->hdrscan));
|
sprintf(hdrscan_count_str, "%u", list_length(c->hdrscan));
|
||||||
sprintf(time_str, "%lu", c->time);
|
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, CACHE_RECORD_HEADER);
|
||||||
write_netstring(f, c->boundname);
|
write_netstring(f, c->boundname);
|
||||||
|
Loading…
Reference in New Issue
Block a user