[gcab/wip/hughsie/meson] Fix a -Wformat warning



commit dfc41589d427d757fe22f4ad8488ee3cb1807366
Author: Richard Hughes <richard hughsie com>
Date:   Fri Nov 17 09:38:23 2017 +0000

    Fix a -Wformat warning

 libgcab/gcab-folder.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgcab/gcab-folder.c b/libgcab/gcab-folder.c
index db28cf7..8c3c0be 100644
--- a/libgcab/gcab-folder.c
+++ b/libgcab/gcab-folder.c
@@ -208,7 +208,7 @@ add_file_info (GCabFolder *self, GCabFile *file, GFileInfo *info,
 
     } else {
         g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
-                     "Unhandled file type: %d", file_type);
+                     "Unhandled file type: %u", file_type);
         return FALSE;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]