From 67b8cb62bc04701715f65f0cade1264c837a9940 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 12 Apr 2017 17:56:54 +0100 Subject: [PATCH] trivial: Fix the last -Wpointer-sign warning --- plugins/udev/fu-rom-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/udev/fu-rom-tool.c b/plugins/udev/fu-rom-tool.c index a98d8b124..fd12dc515 100644 --- a/plugins/udev/fu-rom-tool.c +++ b/plugins/udev/fu-rom-tool.c @@ -143,7 +143,7 @@ fu_fuzzer_rom_create (GError **error) sz = GUINT16_TO_BE (0x80); memcpy (&buffer[0x15], &sz, 2); g_hash_table_insert (hash, (gpointer) "naked-ifr.rom", - g_string_new_len (blob_ifr, 0x80)); + g_string_new_len ((const gchar *) blob_ifr, 0x80)); str = g_string_new_len ((gchar *) blob_ifr, 0x80); memcpy (&blob_header[0x6], (gpointer) "ifr-hdr-data-payld", 18); g_string_append_len (str, (gchar *) blob_header, 0x200);