1
0
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:
Yang Tse 2008-05-08 05:45:01 +00:00
parent ec0665a931
commit d4e9b141db

View File

@ -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
}