summaryrefslogtreecommitdiff
path: root/ttd.c
diff options
context:
space:
mode:
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;