summaryrefslogtreecommitdiffstats
path: root/src/file_mkv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2018-03-15 10:10:22 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2018-03-15 10:10:22 +0100
commitf29f7ab54cbb930dbd551eed92cf78af30f9abf3 (patch)
treebf7c203122425dce3dbb9c249a0ae9b7e267da02 /src/file_mkv.c
parentf3bdb0f39cc38916ed25e3fec0739e2d15193cfe (diff)
Fix various warnings
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);