summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine/BluRay/input_bluray.c2
1 files changed, 1 insertions, 1 deletions
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);
}