summaryrefslogtreecommitdiff
path: root/libappstream-builder/plugins/asb-plugin-shell-extension.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-07-25 12:29:53 +0100
committerRichard Hughes <richard@hughsie.com>2016-07-25 12:29:53 +0100
commit74594acf6d9745b8ea0d4efbd58a4fc331f6ef46 (patch)
treefa31b9f18eea4396a1e247f20630334e42c9f046 /libappstream-builder/plugins/asb-plugin-shell-extension.c
parente04788886491aeb6ace2ba1d1161f0ce86c04a21 (diff)
downloadappstream-glib-74594acf6d9745b8ea0d4efbd58a4fc331f6ef46.tar.gz
Add two new GCC warnings and fix up signed/unsigned issues
Diffstat (limited to 'libappstream-builder/plugins/asb-plugin-shell-extension.c')
-rw-r--r--libappstream-builder/plugins/asb-plugin-shell-extension.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-shell-extension.c b/libappstream-builder/plugins/asb-plugin-shell-extension.c
index b5282ea..f28386a 100644
--- a/libappstream-builder/plugins/asb-plugin-shell-extension.c
+++ b/libappstream-builder/plugins/asb-plugin-shell-extension.c
@@ -66,7 +66,7 @@ as_app_parse_shell_extension_data (AsApp *app,
/* parse the data */
json_parser = json_parser_new ();
- if (!json_parser_load_from_data (json_parser, data, len, error))
+ if (!json_parser_load_from_data (json_parser, data, (gssize) len, error))
return FALSE;
json_root = json_parser_get_root (json_parser);
if (json_root == NULL) {