Commit 33f10e7f authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

iccvid: Remove unneeded casts.

parent a36e14d9
...@@ -626,7 +626,7 @@ static void decode_cinepak(cinepak_info *cvinfo, unsigned char *buf, int size, ...@@ -626,7 +626,7 @@ static void decode_cinepak(cinepak_info *cvinfo, unsigned char *buf, int size,
while((chunk_size > 0) && (y < y_bottom)) while((chunk_size > 0) && (y < y_bottom))
{ {
/* ---- flag bits: 0 = SKIP, 10 = V1, 11 = V4 ---- */ /* ---- flag bits: 0 = SKIP, 10 = V1, 11 = V4 ---- */
flag = (unsigned long)get_long(); flag = get_long();
chunk_size -= 4; chunk_size -= 4;
mask = 0x80000000; mask = 0x80000000;
...@@ -637,7 +637,7 @@ static void decode_cinepak(cinepak_info *cvinfo, unsigned char *buf, int size, ...@@ -637,7 +637,7 @@ static void decode_cinepak(cinepak_info *cvinfo, unsigned char *buf, int size,
if(mask == 1) if(mask == 1)
{ {
if(chunk_size < 0) break; if(chunk_size < 0) break;
flag = (unsigned long)get_long(); flag = get_long();
chunk_size -= 4; chunk_size -= 4;
mask = 0x80000000; mask = 0x80000000;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment