[gcab/wip/hughsie/meson: 3/5] trivial: Fix a -Wformat warning
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcab/wip/hughsie/meson: 3/5] trivial: Fix a -Wformat warning
- Date: Fri, 17 Nov 2017 12:55:08 +0000 (UTC)
commit 900f0f0359dfc135daca46f122f4c5fe4835d326
Author: Richard Hughes <richard hughsie com>
Date: Fri Nov 17 09:38:23 2017 +0000
trivial: 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]