diff --git a/plugins/zzogl-pg/opengl/ZZClut.cpp b/plugins/zzogl-pg/opengl/ZZClut.cpp index fba1afc65e..1907c52c6d 100644 --- a/plugins/zzogl-pg/opengl/ZZClut.cpp +++ b/plugins/zzogl-pg/opengl/ZZClut.cpp @@ -392,7 +392,7 @@ __forceinline void GSMem_to_ClutBuffer__T32_I4_CSM1_c(u32* vm, u32 csa) dst += 2; // check for wrapping - if (((u32)dst & 0x3ff) == 0) dst = GetClutBufferAddress(16); + if (((uptr)dst & 0x3ff) == 0) dst = GetClutBufferAddress(16); } break; } @@ -408,7 +408,7 @@ __forceinline void GSMem_to_ClutBuffer__T32_I4_CSM1_c(u32* vm, u32 csa) dst += 2; // check for wrapping - if (((u32)dst & 0x3ff) == 0) dst = GetClutBufferAddress(16); + if (((uptr)dst & 0x3ff) == 0) dst = GetClutBufferAddress(16); } break; }