Patch 17403, small gcc warning fixes.
authorTon Roosendaal <ton@blender.org>
Sat, 20 Sep 2008 12:28:01 +0000 (12:28 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 20 Sep 2008 12:28:01 +0000 (12:28 +0000)
release/plugins/sequence/dnr.c

index 7e7c168750e2cfa9eb4f02db09946105f920c064..b6a99de0622fc315e5d6874984f22b1d5c7707b2 100644 (file)
@@ -110,9 +110,9 @@ static void doit(unsigned char * src_, unsigned char * dst_,
        unsigned char * dst = dst_;
 
        while (count--) {
-               *dst++ = table[(*src++ << 8) | *dst];
-               *dst++ = table[(*src++ << 8) | *dst];
-               *dst++ = table[(*src++ << 8) | *dst];
+               *dst = table[(*src++ << 8) | *dst]; dst++;
+               *dst = table[(*src++ << 8) | *dst]; dst++;
+               *dst = table[(*src++ << 8) | *dst]; dst++;
                *dst++ = *src++;
        }