1 2 3 4 5 6 | uint32 VKCode = (uint32)Message.wParam; ... if(VKCode == 'W') { Win32ProcessKeyboardMessage(&KeyboardController->MoveUp, IsDown); ... |
If I try to compile this I get the following error: error C2446: '==': no conversion from 'const char *' to 'uint32_t'. Looking at the code above, I can completely understand why the compiler complains.
Am I missing something here? How come it works on Casey's machine?