Fix all -Wconversion-null warnings

This commit is contained in:
Luke Street
2026-02-28 15:59:24 -07:00
parent c786f40a23
commit 0631cfe894
54 changed files with 108 additions and 100 deletions
+1 -1
View File
@@ -1245,7 +1245,7 @@ void* dEvent_manager_c::getMySubstanceP(int staffId, const char* dataname, int d
int dEvent_manager_c::getMySubstanceNum(int staffId, const char* dataname) {
dEvDtData_c* data = getMyDataP(staffId, dataname, FALSE);
if (data == NULL) {
return NULL;
return 0;
} else {
return data->getNumber();
}