aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/glk/tads/os_buffer.cpp2
-rw-r--r--engines/glk/tads/os_parse.cpp6
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;