mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
fix compiler warning: format '%ld' expects type 'long int'
This commit is contained in:
parent
ec0665a931
commit
d4e9b141db
@ -349,9 +349,9 @@ void Curl_splayprint(struct Curl_tree * t, int d, char output)
|
||||
|
||||
if(output) {
|
||||
#ifdef TEST_SPLAY
|
||||
printf("%ld[%d]", t->key.tv_usec, i);
|
||||
printf("%ld[%d]", (long)t->key.tv_usec, i);
|
||||
#else
|
||||
printf("%ld.%ld[%d]", t->key.tv_sec, t->key.tv_usec, i);
|
||||
printf("%ld.%ld[%d]", (long)t->key.tv_sec, (long)t->key.tv_usec, i);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user