1 | diff --git a/mythtv/libs/libmythtv/Bluray/bdringbuffer.cpp b/mythtv/libs/libmythtv/Bluray/bdringbuffer.cpp |
---|
2 | index 15c5614baf..40c451cb52 100644 |
---|
3 | --- a/mythtv/libs/libmythtv/Bluray/bdringbuffer.cpp |
---|
4 | +++ b/mythtv/libs/libmythtv/Bluray/bdringbuffer.cpp |
---|
5 | @@ -137,7 +137,7 @@ static int _img_read(void *handle, void *buf, int lba, int num_blocks) |
---|
6 | { |
---|
7 | int result = -1; |
---|
8 | |
---|
9 | - if (mythfile_seek(*((int*)handle), lba * 2048, SEEK_SET) != -1) |
---|
10 | + if (mythfile_seek(*((int*)handle), lba * 2048LL, SEEK_SET) != -1) |
---|
11 | result = mythfile_read(*((int*)handle), buf, num_blocks * 2048) / 2048; |
---|
12 | |
---|
13 | return result; |
---|