Index: /trunk/src/VBox/Main/src-client/KeyboardImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/KeyboardImpl.cpp	(revision 81245)
+++ /trunk/src/VBox/Main/src-client/KeyboardImpl.cpp	(revision 81246)
@@ -256,5 +256,5 @@
     int vrc = VINF_SUCCESS;
     uint32_t u32Usage;
-    u32Usage = (uint8_t)aUsageCode | ((uint32_t)(uint8_t)aUsagePage << 16) | (fKeyRelease ? 0x80000000 : 0);
+    u32Usage = (uint16_t)aUsageCode | ((uint32_t)(uint8_t)aUsagePage << 16) | (fKeyRelease ? 0x80000000 : 0);
     vrc = pUpPort->pfnPutEventHid(pUpPort, u32Usage);
     if (RT_FAILURE(vrc))
