From e3b86d5ff6805a58c6e1da271b7179672005ba18 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 23 Dec 2010 17:23:14 +0100 Subject: [PATCH] xbps-dgraph: use PRIu64 to printf uint64_t from . --- bin/xbps-dgraph/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: