From 24c1439d52e321de9f8d9540e10feae94b74c615 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 22 Sep 2017 23:58:40 -0500 Subject: [PATCH] libpkgconf: stdinc: fix SIZE_FMT_SPECIFIER on mingw --- libpkgconf/stdinc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpkgconf/stdinc.h b/libpkgconf/stdinc.h index 43d7eeb..d0a43ad 100644 --- a/libpkgconf/stdinc.h +++ b/libpkgconf/stdinc.h @@ -32,9 +32,9 @@ # include # define PATH_DEV_NULL "nul" # ifdef _WIN64 -# define SIZE_FMT_SPECIFIER "%llu" +# define SIZE_FMT_SPECIFIER "%I64u" # else -# define SIZE_FMT_SPECIFIER "%lu" +# define SIZE_FMT_SPECIFIER "%u" # endif # ifndef ssize_t # ifndef __MINGW32__