[libbluray-devel] Use correct type
Ian Curtis
git at videolan.org
Tue Apr 23 22:10:01 CEST 2013
libbluray | branch: master | Ian Curtis <i.curtis at gmail.com> | Tue Apr 23 23:09:26 2013 +0300| [56522d649b4067a7f19f016c9e21070de9da76dc] | committer: hpi1
Use correct type
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=56522d649b4067a7f19f016c9e21070de9da76dc
---
src/libbluray/hdmv/mobj_parse.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/hdmv/mobj_parse.c b/src/libbluray/hdmv/mobj_parse.c
index d6557a1..adc4ec2 100644
--- a/src/libbluray/hdmv/mobj_parse.c
+++ b/src/libbluray/hdmv/mobj_parse.c
@@ -173,8 +173,8 @@ MOBJ_OBJECTS *mobj_parse(const char *file_name)
/* if failed, try backup file */
if (!objects) {
- int len = strlen(file_name);
- char *backup = malloc(len + 8);
+ size_t len = strlen(file_name);
+ char *backup = malloc(len + 8);
strcpy(backup, file_name);
strcpy(backup + len - 16, "BACKUP/MovieObject.bdmv");
More information about the libbluray-devel
mailing list