From 483302aba0d73526c43a518ab0b152722a3da9e6 Mon Sep 17 00:00:00 2001 From: Mike Alexander Date: Tue, 1 Jul 2014 22:40:45 -0400 Subject: [PATCH] Use guint64 instead of uint64_t with G_GUINT64_FORMAT to avoid warnings. --- src/libqof/qof/guid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libqof/qof/guid.c b/src/libqof/qof/guid.c index 6ffed5282a..22a5cf5a60 100644 --- a/src/libqof/qof/guid.c +++ b/src/libqof/qof/guid.c @@ -249,7 +249,7 @@ init_from_file(const char *filename, size_t max_size) #ifdef HAVE_SCANF_LLD PINFO ("guid_init got %" G_GUINT64_FORMAT " bytes from %s", - (uint64_t) file_bytes, + (guint64) file_bytes, filename); #else PINFO ("guid_init got %lu bytes from %s", (unsigned long int) file_bytes, @@ -515,12 +515,12 @@ guid_init(void) /* time in secs and clock ticks */ bytes += init_from_time(); - PINFO ("got %" G_GUINT64_FORMAT " bytes", (uint64_t) bytes); + PINFO ("got %" G_GUINT64_FORMAT " bytes", (guint64) bytes); if (bytes < THRESHOLD) PWARN("only got %" G_GUINT64_FORMAT " bytes.\n" "The identifiers might not be very random.\n", - (uint64_t)bytes); + (guint64)bytes); guid_initialized = TRUE; LEAVE();