We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f0fb5 commit 39f2c46Copy full SHA for 39f2c46
src/gu/sceGuDepthBuffer.c
@@ -13,7 +13,7 @@ void sceGuDepthBuffer(void *zbp, int zbw)
13
#ifdef GU_DEBUG
14
printf("sceGuDepthBuffer(%p, %d);\n", zbp, zbw);
15
assert(gu_init && "GU not initialized");
16
- assert((zbw & 0x1FFF) == 0 && "Depth buffer pointer must be 8192-byte aligned");
+ assert(((unsigned int)zbp & 0x1FFF) == 0 && "Depth buffer pointer must be 8192-byte aligned");
17
assert(zbw > 64 && zbw <= 1024 && (zbw & 0x3F) == 0 && "Invalid depth buffer width, must be multiple of 64");
18
#endif
19
0 commit comments