diff options
author | Paul Gilbert | 2019-05-25 10:10:36 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-05-25 10:10:36 -0700 |
commit | 7177836dcc8e719670186b6a9b0f651adf941d60 (patch) | |
tree | 7971161d9defafc111328633b549cc36eed1aac4 /engines/glk/tads | |
parent | 608e9af69d203d4dd4fc65d16ef808d945341ed3 (diff) | |
download | scummvm-rg350-7177836dcc8e719670186b6a9b0f651adf941d60.tar.gz scummvm-rg350-7177836dcc8e719670186b6a9b0f651adf941d60.tar.bz2 scummvm-rg350-7177836dcc8e719670186b6a9b0f651adf941d60.zip |
GLK: TADS2: Amiga compilation fix
Diffstat (limited to 'engines/glk/tads')
-rw-r--r-- | engines/glk/tads/os_buffer.cpp | 2 | ||||
-rw-r--r-- | engines/glk/tads/os_parse.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
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; |