summaryrefslogtreecommitdiffstats
path: root/src/app/app.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/app.h')
-rw-r--r--src/app/app.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/app.h b/src/app/app.h
index 1834a67..849f441 100644
--- a/src/app/app.h
+++ b/src/app/app.h
@@ -129,11 +129,11 @@ enum InputSlot
struct InputBinding
{
//! Key
- int key;
+ unsigned int key;
//! Key modifier (e.g. shift, control)
- int kmod;
+ unsigned int kmod;
//! Joystick button
- int joy;
+ unsigned int joy;
inline InputBinding()
{
@@ -142,7 +142,7 @@ struct InputBinding
inline void Reset()
{
- key = kmod = joy = -1;
+ key = kmod = joy = static_cast<unsigned int>(-1);
}
};