From 7177836dcc8e719670186b6a9b0f651adf941d60 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 25 May 2019 10:10:36 -0700 Subject: GLK: TADS2: Amiga compilation fix --- engines/glk/tads/os_buffer.cpp | 2 +- engines/glk/tads/os_parse.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/glk') diff --git a/engines/glk/tads/os_buffer.cpp b/engines/glk/tads/os_buffer.cpp index 539a379bcd..cb6ae9086f 100644 --- a/engines/glk/tads/os_buffer.cpp +++ b/engines/glk/tads/os_buffer.cpp @@ -52,7 +52,7 @@ static uint32 *input = 0; static uint max = 0; void os_put_buffer(const char *buf, size_t len) { - uint *out; + uint32 *out; uint outlen; if (!len) diff --git a/engines/glk/tads/os_parse.cpp b/engines/glk/tads/os_parse.cpp index d722d14e05..267103aa76 100644 --- a/engines/glk/tads/os_parse.cpp +++ b/engines/glk/tads/os_parse.cpp @@ -364,7 +364,7 @@ uint parse_cp1251(const unsigned char *buf, uint buflen, uint32 *out, uint outle return outpos; } -uint prepare_cp1251(const uint *buf, uint buflen, +static uint prepare_cp1251(const uint32 *buf, uint buflen, unsigned char *out, uint outlen) { uint pos = 0; @@ -572,7 +572,7 @@ uint parse_cp1252(const unsigned char *buf, uint buflen, uint32 *out, uint outle return outpos; } -uint prepare_cp1252(const uint *buf, uint buflen, +static uint prepare_cp1252(const uint32 *buf, uint buflen, unsigned char *out, uint outlen) { uint pos = 0; @@ -776,7 +776,7 @@ uint parse_mac(const unsigned char *buf, uint buflen, uint32 *out, uint outlen) return outpos; } -uint prepare_mac(const uint *buf, uint buflen, unsigned char *out, uint outlen) { +static uint prepare_mac(const uint32 *buf, uint buflen, unsigned char *out, uint outlen) { uint pos = 0; uint outpos = 0; uint res; -- cgit v1.2.3