[gcab] trivial: Fix a -Wformat warning
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcab] trivial: Fix a -Wformat warning
- Date: Mon, 20 Nov 2017 10:56:52 +0000 (UTC)
commit 81b55c50914a02437e13749aea48ab4703bba528
Author: Richard Hughes <richard hughsie com>
Date: Fri Nov 17 09:38:23 2017 +0000
trivial: Fix a -Wformat warning
Reviewed-by: Marc-André Lureau <marcandre lureau redhat com>
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]