Avoid numeric overflow when printing debug message.
This commit is contained in:
parent
20ecd2232d
commit
73326138ee
1 changed files with 1 additions and 1 deletions
|
@ -411,7 +411,7 @@ namespace OpenTK.Platform.Windows
|
||||||
default:
|
default:
|
||||||
if (!WMInput.KeyMap.ContainsKey((VirtualKeys)wParam))
|
if (!WMInput.KeyMap.ContainsKey((VirtualKeys)wParam))
|
||||||
{
|
{
|
||||||
Debug.Print("Virtual key {0} ({1}) not mapped.", (VirtualKeys)wParam, (int)lParam);
|
Debug.Print("Virtual key {0} ({1}) not mapped.", (VirtualKeys)wParam, (long)lParam);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue