[libbluray-devel] Use uint8_t instead of char in _can_read_file method

tourettes git at videolan.org
Mon Nov 9 22:01:02 CET 2015


libbluray | branch: master | tourettes <tourettes at team-mediaportal.com> | Mon Nov  9 20:01:33 2015 +0200| [5c5f54f49f4cf5803a1cb2cbe7cec3043e284c86] | committer: hpi1

Use uint8_t instead of char in _can_read_file method

Fixes compile issue with VC's compiler

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

 src/libbluray/bdj/bdj.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
index 868d28f..a7ef791 100644
--- a/src/libbluray/bdj/bdj.c
+++ b/src/libbluray/bdj/bdj.c
@@ -223,7 +223,7 @@ static int _can_read_file(const char *fn)
 
     fp = file_open(fn, "rb");
     if (fp) {
-        char b;
+        uint8_t b;
         int result = (int)file_read(fp, &b, 1);
         file_close(fp);
         if (result == 1) {



More information about the libbluray-devel mailing list