summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2011-06-03 11:19:20 -0600
committerJared Adams <jaxad0127@gmail.com>2011-06-03 12:08:26 -0600
commit3c0cb0e058324ee1d3116017f14387e9a6004442 (patch)
treeb9c00c3fdf1dff7e4c07bf4f8c83c2e7bc03c0f7 /src/keyboardconfig.h
parent894038adf52a3e2b42542239a147d6c1cc1ad204 (diff)
downloadMana-3c0cb0e058324ee1d3116017f14387e9a6004442.tar.gz
Mana-3c0cb0e058324ee1d3116017f14387e9a6004442.tar.bz2
Mana-3c0cb0e058324ee1d3116017f14387e9a6004442.tar.xz
Mana-3c0cb0e058324ee1d3116017f14387e9a6004442.zip
Replace SDL_types.h with cstdint
This required moving to C++0x, so it does that too, and fixes a few errors with that. Reviewed-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
Diffstat (limited to 'src/keyboardconfig.h')
-rw-r--r--src/keyboardconfig.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h
index aaeb82a2..945011a8 100644
--- a/src/keyboardconfig.h
+++ b/src/keyboardconfig.h
@@ -21,8 +21,7 @@
#ifndef KEYBOARDCONFIG_H
#define KEYBOARDCONFIG_H
-#include <SDL_types.h>
-
+#include <cstdint>
#include <string>
/**
@@ -228,7 +227,7 @@ class KeyboardConfig
KeyFunction mKey[KEY_TOTAL]; /**< Pointer to all the key data */
- Uint8 *mActiveKeys; /**< Stores a list of all the keys */
+ uint8_t *mActiveKeys; /**< Stores a list of all the keys */
std::string mBindError;
};