summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-06 08:38:09 +0000
committertron <tron@openttd.org>2005-02-06 08:38:09 +0000
commitff3bc3cc94a6e1f37c8d305ee7c723312bd5d8b8 (patch)
tree565009fc791efe403a4156315a5d34eceb8fd468 /ttd.c
parent0381073e56049b39df7fa28cc082a41829951724 (diff)
downloadopenttd-ff3bc3cc94a6e1f37c8d305ee7c723312bd5d8b8.tar.xz
(svn r1814) Let ReadFileToMem() return void* (instead of byte*) because we don't know what the caller wants to do with the data
Diffstat (limited to 'ttd.c')
-rw-r--r--ttd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ttd.c b/ttd.c
index 46e9b2d10..07544364b 100644
--- a/ttd.c
+++ b/ttd.c
@@ -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;