From 6e9a53422338d97093843d93464b579970ba3204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 6 Mar 2012 14:28:15 +0100 Subject: [PATCH] dvdreadsrc: Use variable type with correct signedness --- ext/dvdread/dvdreadsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/dvdread/dvdreadsrc.c b/ext/dvdread/dvdreadsrc.c index 9877f07247..d0ebcaf491 100644 --- a/ext/dvdread/dvdreadsrc.c +++ b/ext/dvdread/dvdreadsrc.c @@ -536,7 +536,7 @@ gst_dvd_read_src_goto_title (GstDvdReadSrc * src, gint title, gint angle) sid = i; if (pgc0 != NULL) { - if (v->display_aspect_ratio == 0) /* 4:3 */ + if (v->display_aspect_ratio == 0) /* 4:3 */ sid = (pgc0->subp_control[i] >> 24) & 0x1f; else if (v->display_aspect_ratio == 3) /* 16:9 */ sid = (pgc0->subp_control[i] >> 8) & 0x1f; @@ -1073,7 +1073,7 @@ gst_dvd_read_src_get_size (GstDvdReadSrc * src, gint64 * size) gboolean ret = FALSE; if (src->dvd_title) { - gsize blocks; + gssize blocks; blocks = DVDFileSize (src->dvd_title); if (blocks >= 0) {