eio: fix printf format error
authorJean Guyomarc'h <jean@guyomarch.bzh>
Thu, 9 Mar 2017 21:18:10 +0000 (22:18 +0100)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Thu, 9 Mar 2017 22:16:16 +0000 (23:16 +0100)
src/examples/eio/efl_io_manager_ls.c

index b1f5ea9..6878cfe 100644 (file)
@@ -2,7 +2,7 @@
 #include <config.h>
 #endif
 
-
+#include <inttypes.h>
 #include <stdlib.h>
 #include <stdio.h>
 
@@ -20,7 +20,7 @@ void done_cb(void *data, const Efl_Event *ev)
    Efl_Future_Event_Success *success = ev->info;
    uint64_t *count = success->value;
 
-   printf("%s done listing files %i.\n", __FUNCTION__, *count);
+   printf("%s done listing files %"PRIu64".\n", __FUNCTION__, *count);
 
    leave(data);
 }