[libbluray-devel] Fixed printf format
hpi1
git at videolan.org
Sun Mar 10 14:24:54 CET 2013
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sun Mar 10 15:06:22 2013 +0200| [1f3d34f541f0145270eb4c7ab3f62fe82de6d2c2] | committer: hpi1
Fixed printf format
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=1f3d34f541f0145270eb4c7ab3f62fe82de6d2c2
---
src/libbluray/hdmv/hdmv_vm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/hdmv/hdmv_vm.c b/src/libbluray/hdmv/hdmv_vm.c
index da26740..7726830 100644
--- a/src/libbluray/hdmv/hdmv_vm.c
+++ b/src/libbluray/hdmv/hdmv_vm.c
@@ -405,8 +405,8 @@ static int _resume_object(HDMV_VM *p, int psr_restore)
p->suspended_object = NULL;
- BD_DEBUG(DBG_HDMV, "resuming object %d at %d\n",
- (p->movie_objects->objects - p->object) / sizeof(p->movie_objects->objects[0]),
+ BD_DEBUG(DBG_HDMV, "resuming object %ld at %d\n",
+ (long)((p->movie_objects->objects - p->object) / sizeof(p->movie_objects->objects[0])),
p->pc);
_queue_event(p, HDMV_EVENT_PLAY_STOP, 0);
More information about the libbluray-devel
mailing list