summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--camlibs/canon/canon.c2
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.