-fixed compile errors in dev cpp

This commit is contained in:
normmatt234 2006-06-14 11:42:12 +00:00
parent 77ed68f8f2
commit 16eea7dd99
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
#include "fs.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <windows.h>
const char FS_SEPARATOR = '\\';
@ -23,7 +26,7 @@ void * FsReadFirst(const char * p, FsEntry * entry) {
entry->flags = FS_IS_DIR;
}
ret = malloc(sizeof(HANDLE));
ret = (void**)malloc(sizeof(HANDLE));
*ret = hFind;
return ret;
}