Various minor warning fixes

This commit is contained in:
Luke Street
2026-02-28 17:18:04 -07:00
parent f233787c0a
commit 989c6ac3db
11 changed files with 24 additions and 15 deletions
+2 -2
View File
@@ -208,7 +208,7 @@ void* JKRAramArchive::fetchResource(SDIFileEntry* pEntry, u32* pOutSize) {
&outBuf);
*pOutSize = size;
if (size == NULL) {
if (size == 0) {
return NULL;
}
@@ -243,7 +243,7 @@ void* JKRAramArchive::fetchResource(void* buffer, u32 bufferSize, SDIFileEntry*
} else {
if (compression == COMPRESSION_YAZ0) {
u32 expandSize = this->getExpandSize(pEntry);
if (expandSize != NULL) {
if (expandSize != 0) {
size = expandSize;
}
}