xbps-dgraph: use PRIu64 to printf uint64_t from <inttypes.h>.

This commit is contained in:
Juan RP 2010-12-23 17:23:14 +01:00
parent f9d0a639f2
commit e3b86d5ff6

View File

@ -30,6 +30,7 @@
#include <errno.h>
#include <stdarg.h>
#include <unistd.h>
#include <inttypes.h>
#include <xbps_api.h>
@ -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: