- added missing typecast

pull/353/merge
Michael Zillgith 4 years ago
parent a02c63b1de
commit 856800936f

@ -114,7 +114,7 @@ FileSystem_openDirectory(char* directoryName)
DirectoryHandle handle = NULL; DirectoryHandle handle = NULL;
if (dirHandle != NULL) { if (dirHandle != NULL) {
handle = GLOBAL_MALLOC(sizeof(struct sDirectoryHandle)); handle = (DirectoryHandle) GLOBAL_MALLOC(sizeof(struct sDirectoryHandle));
handle->handle = dirHandle; handle->handle = dirHandle;
} }

Loading…
Cancel
Save