aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjepael2019-07-11 23:27:43 +0300
committerFilippos Karapetis2019-07-13 09:15:41 +0300
commit3b68380ca3872813f1d68fe57cf75e634202cd29 (patch)
treea6f09f7e8ab6b67e4caaf4f8d1179768392131da
parente67ec0dbe1c6ae0aca9715cd295d5217ce8e89f6 (diff)
downloadscummvm-rg350-3b68380ca3872813f1d68fe57cf75e634202cd29.tar.gz
scummvm-rg350-3b68380ca3872813f1d68fe57cf75e634202cd29.tar.bz2
scummvm-rg350-3b68380ca3872813f1d68fe57cf75e634202cd29.zip
SDL: Fix compiler warning and joystick event handling
-rw-r--r--common/events.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/events.h b/common/events.h
index ff5d2874f4..4b45d530c8 100644
--- a/common/events.h
+++ b/common/events.h
@@ -110,7 +110,7 @@ struct JoystickState {
* Some of the button indices match well-known game controller
* buttons. See JoystickButton.
*/
- byte button;
+ int8 button;
};
/**