diff --git a/bin/xbps-dgraph/main.c b/bin/xbps-dgraph/main.c index 8ed92d9d..0dd1ccd6 100644 --- a/bin/xbps-dgraph/main.c +++ b/bin/xbps-dgraph/main.c @@ -30,6 +30,7 @@ #include #include #include +#include #include @@ -330,7 +331,7 @@ parse_array_in_pkg_dictionary(FILE *f, prop_dictionary_t plistd, prop_bool_true(keyobj) ? "true" : "false"); break; case PROP_TYPE_NUMBER: - fprintf(f, ",label=\"%zu\"", + fprintf(f, ",label=\"%"PRIu64"\"", prop_number_unsigned_integer_value(keyobj)); break; case PROP_TYPE_STRING: