From c0809a144ca2ccd849d2d0bd875c65a414ea0f63 Mon Sep 17 00:00:00 2001 From: phintuka Date: Mon, 2 Aug 2010 11:16:51 +0000 Subject: Silenced compiler warning --- xine/BluRay/input_bluray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xine/BluRay/input_bluray.c b/xine/BluRay/input_bluray.c index 508e294d..9a53e609 100644 --- a/xine/BluRay/input_bluray.c +++ b/xine/BluRay/input_bluray.c @@ -671,7 +671,7 @@ static int bluray_plugin_open (input_plugin_t *this_gen) /* jump to chapter */ if (chapter > 0) { - chapter = MAX(0, MIN(this->title_info->chapter_count, chapter) - 1); + chapter = MAX(0, MIN((int)this->title_info->chapter_count, chapter) - 1); bd_seek_chapter(this->bdh, chapter); _x_stream_info_set(this->stream, XINE_STREAM_INFO_DVD_CHAPTER_NUMBER, chapter + 1); } -- cgit v1.2.3