Avoid numeric overflow when printing debug message.

This commit is contained in:
the_fiddler 2010-10-28 08:42:20 +00:00
parent 20ecd2232d
commit 73326138ee

View file

@ -411,7 +411,7 @@ namespace OpenTK.Platform.Windows
default:
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;
}
else