summaryrefslogtreecommitdiffstats
path: root/src/file_mkv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_mkv.c')
-rw-r--r--src/file_mkv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_mkv.c b/src/file_mkv.c
index 7d115a4..be34cda 100644
--- a/src/file_mkv.c
+++ b/src/file_mkv.c
@@ -153,7 +153,7 @@ static int header_check_mkv(const unsigned char *buffer, const unsigned int buff
return 0;
segment_data_offset=segment_offset+sizeof(EBML_Segment)+len;
/* Check if size is unkown */
- if(segment_size == (1LL << (7 * len)) - 1)
+ if(segment_size == (1ULL << (7 * len)) - 1)
segment_size=0;
#ifdef DEBUG_MKV
log_info("segment_data_offset %llu\n", (long long unsigned) segment_data_offset);