Yet another GCC 4 warning fixed

svn-id: r18425
This commit is contained in:
Max Horn
2005-06-21 16:46:04 +00:00
parent 90036d6d8a
commit 07ac9901f1
+2 -1
View File
@@ -622,7 +622,8 @@ void ScummEngine::ditherCGA(byte *dst, int dstPitch, int x, int y, int width, in
for (int x1 = 0; x1 < width; x1++) {
idx2 = (x + x1) % 2;
*ptr++ = cgaDither[idx1][idx2][*ptr & 0xF];
*ptr = cgaDither[idx1][idx2][*ptr & 0xF];
ptr++;
}
}
}