[libbluray-devel] Hide pointer type warning (signed/unsigned)

hpi1 git at videolan.org
Tue Jun 6 10:08:19 CEST 2017


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Jun  6 11:05:55 2017 +0300| [e1658d4dfb9faa95ddd312e75ae194206b010bdc] | committer: hpi1

Hide pointer type warning (signed/unsigned)

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

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

diff --git a/src/libbluray/disc/properties.c b/src/libbluray/disc/properties.c
index 0ca4a1ae..b01f5153 100644
--- a/src/libbluray/disc/properties.c
+++ b/src/libbluray/disc/properties.c
@@ -70,7 +70,7 @@ static int _read_prop_file(const char *file, char **data)
         return -1;
     }
 
-    if (file_read(fp, *data, size) != (size_t)size) {
+    if (file_read(fp, (uint8_t*)*data, size) != (size_t)size) {
         goto unlink;
     }
 



More information about the libbluray-devel mailing list