diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2023-02-01 17:01:24 +0100 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2023-02-01 17:01:24 +0100 |
commit | a4832258a8d8f5fc70ae649a5c9929386f8c27f0 (patch) | |
tree | b27f04ff9731fd2e19d4d83b6b555d2e1a95a667 /camlibs | |
parent | f5a1a8835b125acb4cec5d25b0dfbf508b1faf3c (diff) | |
download | libgphoto2-a4832258a8d8f5fc70ae649a5c9929386f8c27f0.tar.gz |
use unsigned long for time_t usage (Coverity)
Diffstat (limited to 'camlibs')
-rw-r--r-- | camlibs/canon/canon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/canon/canon.c b/camlibs/canon/canon.c index 86df352b3..bf2cd26df 100644 --- a/camlibs/canon/canon.c +++ b/camlibs/canon/canon.c @@ -2692,7 +2692,7 @@ canon_int_set_time (Camera *camera, time_t date, GPContext *context) time_t new_date; struct tm *tm; - GP_DEBUG ("canon_int_set_time: %i=0x%x %s", (unsigned int) date, (unsigned int) date, + GP_DEBUG ("canon_int_set_time: %li=0x%lx %s", (unsigned long) date, (unsigned long) date, asctime (localtime (&date))); /* call localtime() just to get 'extern long timezone' / tm->tm_gmtoff set. |