[Scummvm-git-logs] scummvm master -> cdfb61dd99a4c75a0490605831d4f8a06a0dccbe
dreammaster
paulfgilbert at gmail.com
Sun Dec 9 20:05:02 CET 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
cdfb61dd99 GLK: Hopefully finally fix Amiga compilation
Commit: cdfb61dd99a4c75a0490605831d4f8a06a0dccbe
https://github.com/scummvm/scummvm/commit/cdfb61dd99a4c75a0490605831d4f8a06a0dccbe
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-12-09T11:04:51-08:00
Commit Message:
GLK: Hopefully finally fix Amiga compilation
Changed paths:
engines/glk/frotz/glk_interface.cpp
engines/glk/glk_types.h
diff --git a/engines/glk/frotz/glk_interface.cpp b/engines/glk/frotz/glk_interface.cpp
index 79907cb..7c8f490 100644
--- a/engines/glk/frotz/glk_interface.cpp
+++ b/engines/glk/frotz/glk_interface.cpp
@@ -49,7 +49,7 @@ GlkInterface::~GlkInterface() {
}
void GlkInterface::initialize() {
- uint width, height;
+ glui32 width, height;
/*
* Init glk stuff
@@ -425,7 +425,7 @@ void GlkInterface::packspaces(zchar *src, zchar *dst) {
void GlkInterface::smartstatusline() {
zchar packed[256];
- zchar buf[256];
+ glui32 buf[256];
zchar *a, *b, *c, *d;
int roomlen, scorelen, scoreofs;
int len, tmp;
@@ -478,7 +478,7 @@ void GlkInterface::gos_cancel_pending_line() {
}
void GlkInterface::showBeyondZorkTitle() {
- uint winW, winH, imgW, imgH;
+ glui32 winW, winH, imgW, imgH;
winid_t win = glk_window_open(0, 0, 0, wintype_Graphics, 0);
glk_window_get_size(win, &winW, &winH);
diff --git a/engines/glk/glk_types.h b/engines/glk/glk_types.h
index 3c8f60f..3a51b96 100644
--- a/engines/glk/glk_types.h
+++ b/engines/glk/glk_types.h
@@ -28,8 +28,8 @@
namespace Glk {
-typedef uint32 glui32;
-typedef int32 glsi32;
+typedef uint glui32;
+typedef int glsi32;
class Window;
/**
More information about the Scummvm-git-logs
mailing list