From 16eea7dd99b70232039fb8b4f92a94d529201ecf Mon Sep 17 00:00:00 2001 From: normmatt234 Date: Wed, 14 Jun 2006 11:42:12 +0000 Subject: [PATCH] -fixed compile errors in dev cpp --- desmume/src/fs-windows.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/desmume/src/fs-windows.c b/desmume/src/fs-windows.c index de60829b8..8437679dc 100644 --- a/desmume/src/fs-windows.c +++ b/desmume/src/fs-windows.c @@ -1,5 +1,8 @@ #include "fs.h" +#include +#include +#include #include 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; }