[libbluray-devel] properties: fix printf format in mingw

hpi1 git at videolan.org
Fri Dec 1 10:49:17 CET 2017


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Fri Oct 20 23:13:24 2017 +0300| [1ecdedf17cc418751461bfc04b4f863fff229c74] | committer: hpi1

properties: fix printf format in mingw

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=1ecdedf17cc418751461bfc04b4f863fff229c74
---

 src/libbluray/disc/properties.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/libbluray/disc/properties.c b/src/libbluray/disc/properties.c
index b01f5153..42119e28 100644
--- a/src/libbluray/disc/properties.c
+++ b/src/libbluray/disc/properties.c
@@ -28,10 +28,16 @@
 #include "util/macro.h"
 #include "util/strutl.h"
 
+#ifdef _WIN32
+/* mingw: PRId64 requires stdio.h ... */
+#include <stdio.h>
+#endif
+
 #include <stdlib.h>
 #include <string.h>
 #include <inttypes.h>
 
+
 #define MAX_PROP_FILE_SIZE   (64*1024)
 
 /*



More information about the libbluray-devel mailing list