mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:21:42 +03:00
fix compiler warning: format '%ld' expects type 'long int'
This commit is contained in:
parent
ec0665a931
commit
d4e9b141db
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue