libbluray | branch: master | hpi1 <[email protected]> | Thu May  7 12:45:40 
2015 +0300| [e0b0a54420a4e512f217ce257a60a86216b90870] | committer: hpi1

Fix log string format with mingw

(format '%d' expects argument of type 'int', but argument 7 has type 'int64_t')

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

 src/libbluray/decoders/graphics_controller.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/libbluray/decoders/graphics_controller.c 
b/src/libbluray/decoders/graphics_controller.c
index cffd8e6..dabde1c 100644
--- a/src/libbluray/decoders/graphics_controller.c
+++ b/src/libbluray/decoders/graphics_controller.c
@@ -38,6 +38,11 @@
 #include "../register.h"
 #include "../keys.h"
 
+#ifdef _WIN32
+/* mingw: PRId64 seems to expands to %d without stdio.h ... */
+#include <stdio.h>
+#endif
+
 #include <inttypes.h>
 #include <string.h>
 

_______________________________________________
libbluray-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libbluray-devel

Reply via email to