dbpware-for-solaris/pkgconf/src/0002-Use-u-instead-of-zu-for-compatibility.patch
2019-03-24 12:55:08 +01:00

26 lines
684 B
Diff

From 642e19d2af5bbc3c335b191118247f80a149f002 Mon Sep 17 00:00:00 2001
From: "Tom G. Christensen" <tgc@jupiterrise.com>
Date: Sat, 23 Mar 2019 20:48:59 +0100
Subject: [PATCH 2/4] Use %u instead of %zu for compatibility
---
libpkgconf/stdinc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libpkgconf/stdinc.h b/libpkgconf/stdinc.h
index d071ae4..a47cd52 100644
--- a/libpkgconf/stdinc.h
+++ b/libpkgconf/stdinc.h
@@ -54,7 +54,7 @@
# define PKGCONF_ITEM_SIZE (_MAX_PATH + 1024)
#else
# define PATH_DEV_NULL "/dev/null"
-# define SIZE_FMT_SPECIFIER "%zu"
+# define SIZE_FMT_SPECIFIER "%u"
# ifdef __HAIKU__
# include <FindDirectory.h>
# endif
--
2.16.5