summaryrefslogtreecommitdiff
path: root/macosx/plugins/DFInput/macsrc/ControllerList.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/plugins/DFInput/macsrc/ControllerList.m')
-rwxr-xr-xmacosx/plugins/DFInput/macsrc/ControllerList.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/plugins/DFInput/macsrc/ControllerList.m b/macosx/plugins/DFInput/macsrc/ControllerList.m
index 41b38e2f..653bdba2 100755
--- a/macosx/plugins/DFInput/macsrc/ControllerList.m
+++ b/macosx/plugins/DFInput/macsrc/ControllerList.m
@@ -125,7 +125,7 @@ static const int DPad[DKEY_TOTAL] = {
GetKeyDescription(buf, currentController, DPad[rowIndex]);
} else {
rowIndex -= DKEY_TOTAL;
- GetAnalogDescription(buf, currentController, rowIndex / 4, rowIndex % 4);
+ GetAnalogDescription(buf, currentController, (int)(rowIndex / 4), rowIndex % 4);
}
return @(buf);