This looks like a lot but its a few small changes.
[blender.git] / source / blender / imbuf / intern / ham.c
index afc899d86ff5638459f05075f0de485c2b522d46..3673b954c0e9aa8c528b1830e4185e38d728cd3c 100644 (file)
@@ -274,7 +274,7 @@ short imb_converttoham(struct ImBuf *ibuf)
                imb_convhamx(ibuf, coltab, deltab);
        } else {
                for(;y > 0; y--){
-                       convhamscanl(x, y, rect, coltab, deltab, ibuf->cbits);
+                       convhamscanl(x, y, (uchar *)rect, coltab, deltab, ibuf->cbits);
                        rect += x;
                }
        }