Andrew Talbot : iccvid: Remove unneeded casts.

Alexandre Julliard julliard at winehq.org
Mon Jan 7 08:39:20 CST 2008


Module: wine
Branch: master
Commit: 33f10e7fb916f3d1f2b4d9af0a54bb2219b8d081
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=33f10e7fb916f3d1f2b4d9af0a54bb2219b8d081

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Jan  5 16:44:15 2008 +0000

iccvid: Remove unneeded casts.

---

 dlls/iccvid/iccvid.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/iccvid/iccvid.c b/dlls/iccvid/iccvid.c
index 3d1be34..19faf1d 100644
--- a/dlls/iccvid/iccvid.c
+++ b/dlls/iccvid/iccvid.c
@@ -626,7 +626,7 @@ static void decode_cinepak(cinepak_info *cvinfo, unsigned char *buf, int size,
                     while((chunk_size > 0) && (y < y_bottom))
                         {
                             /* ---- flag bits: 0 = SKIP, 10 = V1, 11 = V4 ---- */
-                        flag = (unsigned long)get_long();
+                        flag = get_long();
                         chunk_size -= 4;
                         mask = 0x80000000;
 
@@ -637,7 +637,7 @@ static void decode_cinepak(cinepak_info *cvinfo, unsigned char *buf, int size,
                                 if(mask == 1)
                                     {
                                     if(chunk_size < 0) break;
-                                    flag = (unsigned long)get_long();
+                                    flag = get_long();
                                     chunk_size -= 4;
                                     mask = 0x80000000;
                                     }




More information about the wine-cvs mailing list