Fix linux build

This commit is contained in:
jsteffens 2013-08-31 07:25:40 +00:00
parent 89606483cc
commit 85675ca0ab
1 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@
*/
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <string>
#include "fsnitro.h"
@ -192,7 +194,7 @@ bool FS_NITRO::loadFileTables()
uintptr_t *store = new uintptr_t[numDirs];
if (!store) return false;
memset(store, NULL, sizeof(uintptr_t) * numDirs);
memset(store, 0, sizeof(uintptr_t) * numDirs);
strcpy((char*)fnt[0].filename, "/");
fnt[0].parentID = 0xF000;