diff --git a/src/platform/32x/rasterizer.h b/src/platform/32x/rasterizer.h index 2d41de0..9a5061a 100644 --- a/src/platform/32x/rasterizer.h +++ b/src/platform/32x/rasterizer.h @@ -107,7 +107,7 @@ extern "C" void rasterizeS_c(uint16* pixel, const VertexLink* L, const VertexLin if (width > 0) { - volatile ColorIndex* ptr = (uint8*)pixel + x1; + volatile ColorIndex* ptr = (ColorIndex*)pixel + x1; if (x1 & 1) {