diff options
author | Richard Hughes <richard@hughsie.com> | 2016-07-25 12:29:53 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-07-25 12:29:53 +0100 |
commit | 74594acf6d9745b8ea0d4efbd58a4fc331f6ef46 (patch) | |
tree | fa31b9f18eea4396a1e247f20630334e42c9f046 /libappstream-builder/plugins/asb-plugin-shell-extension.c | |
parent | e04788886491aeb6ace2ba1d1161f0ce86c04a21 (diff) | |
download | appstream-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.c | 2 |
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) { |