Skip to content

Commit

Permalink
Fix hash negative values inside the manifest.json in the saved packages
Browse files Browse the repository at this point in the history
  • Loading branch information
dagargo committed Jan 13, 2023
1 parent 984120e commit cf1cf55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connectors/package.c
Expand Up @@ -211,7 +211,7 @@ package_add_manifest (struct package *pkg)
json_builder_add_int_value (builder, pkg_resource->size);

json_builder_set_member_name (builder, PKG_TAG_HASH);
snprintf (val, LABEL_MAX, "%d", pkg_resource->hash);
snprintf (val, LABEL_MAX, "%u", pkg_resource->hash);
json_builder_add_string_value (builder, val);

json_builder_end_object (builder);
Expand Down

0 comments on commit cf1cf55

Please sign in to comment.