(svn r1814) Let ReadFileToMem() return void* (instead of byte*) because we don't know what the caller wants to do with the data

This commit is contained in:
tron
2005-02-06 08:38:09 +00:00
parent 0381073e56
commit ff3bc3cc94
2 changed files with 2 additions and 2 deletions

2
ttd.c
View File

@@ -218,7 +218,7 @@ static char *strecpy(char *dst, const char *src)
return dst - 1;
}
byte *ReadFileToMem(const char *filename, size_t *lenp, size_t maxsize)
void *ReadFileToMem(const char *filename, size_t *lenp, size_t maxsize)
{
FILE *in;
byte *mem;