xbps-dgraph: use PRIu64 to printf uint64_t from <inttypes.h>.
This commit is contained in:
parent
f9d0a639f2
commit
e3b86d5ff6
@ -30,6 +30,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include <xbps_api.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");
|
prop_bool_true(keyobj) ? "true" : "false");
|
||||||
break;
|
break;
|
||||||
case PROP_TYPE_NUMBER:
|
case PROP_TYPE_NUMBER:
|
||||||
fprintf(f, ",label=\"%zu\"",
|
fprintf(f, ",label=\"%"PRIu64"\"",
|
||||||
prop_number_unsigned_integer_value(keyobj));
|
prop_number_unsigned_integer_value(keyobj));
|
||||||
break;
|
break;
|
||||||
case PROP_TYPE_STRING:
|
case PROP_TYPE_STRING:
|
||||||
|
Loading…
Reference in New Issue
Block a user