Use nullptr instead of NULL

This commit is contained in:
Edo 2022-08-08 10:06:34 +02:00 committed by GitHub
parent 1dfe802a2f
commit 9b79c5d274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -192,7 +192,7 @@ static int get_handle_and_open_file(const char* filename, const char* ospath, ga
}
const auto f = game::native::FS_HandleForFile(thread);
game::native::fsh[f].zipFile = NULL;
game::native::fsh[f].zipFile = nullptr;
game::native::fsh[f].handleFiles.file.o = fp;
strncpy_s(game::native::fsh[f].name, filename, _TRUNCATE);