More -Wpointer-arith fixes

This commit is contained in:
Luke Street
2026-02-28 19:38:29 -07:00
parent a4bf64a86e
commit f65e364fad
39 changed files with 84 additions and 84 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ int dRes_info_c::set(char const* i_arcName, char const* i_path, u8 i_mountDirect
JUT_ASSERT(120, strlen(i_arcName) <= NAME_MAX);
#endif
if (*i_path != NULL) {
if (*i_path != '\0') {
char path[40];
snprintf(path, sizeof(path), "%s%s.arc", i_path, i_arcName);
mDMCommand = mDoDvdThd_mountArchive_c::create(path, i_mountDirection, i_heap);