aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2019-10-11 22:00:03 -0700
committerPaul Gilbert2019-10-13 10:22:40 -0700
commitb11c370fc2f4e27bbd7cac2b3197dc644d0690e7 (patch)
tree8ad6e20dda65c747c0658d0c5fe994cac792b80c /engines
parent3bd273fc8e545165d1eca737d804375283587afd (diff)
downloadscummvm-rg350-b11c370fc2f4e27bbd7cac2b3197dc644d0690e7.tar.gz
scummvm-rg350-b11c370fc2f4e27bbd7cac2b3197dc644d0690e7.tar.bz2
scummvm-rg350-b11c370fc2f4e27bbd7cac2b3197dc644d0690e7.zip
GLK: ADRIFT: Correct unicode string type
Diffstat (limited to 'engines')
-rw-r--r--engines/glk/adrift/os_glk.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/adrift/os_glk.cpp b/engines/glk/adrift/os_glk.cpp
index d45a35771d..218e90d063 100644
--- a/engines/glk/adrift/os_glk.cpp
+++ b/engines/glk/adrift/os_glk.cpp
@@ -740,13 +740,13 @@ static sc_int gsc_read_line_locale(sc_char *buffer, sc_int length, const gsc_loc
* the Latin1 locale are properly translated.
*/
if (gsc_unicode_enabled) {
- glui32 *unicode;
+ uint32 *unicode;
/*
* Allocate a unicode buffer long enough to hold all the characters,
* then read in a unicode line.
*/
- unicode = (glui32 *)gsc_malloc(length * sizeof(*unicode));
+ unicode = (uint32 *)gsc_malloc(length * sizeof(*unicode));
g_vm->glk_request_line_event_uni(gsc_main_window, unicode, length, 0);
gsc_event_wait(evtype_LineInput, &event);