Changeset 22312 in vbox
- Timestamp:
- Aug 17, 2009 11:33:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/darwin/VBoxUtils-darwin.cpp
r21034 r22312 410 410 ::GetEventParameter (evtRef, kEventParamKeyCode, typeUInt32, NULL, 411 411 sizeof (keyCode), NULL, &keyCode); 412 printf(" keyCode=%d (%#x) ", keyCode,keyCode);412 printf(" keyCode=%d (%#x) ", (unsigned)keyCode, (unsigned)keyCode); 413 413 414 414 char macCharCodes[8] = {0,0,0,0, 0,0,0,0}; … … 423 423 ::GetEventParameter (evtRef, kEventParamKeyModifiers, typeUInt32, NULL, 424 424 sizeof (modifierMask), NULL, &modifierMask); 425 printf(" modifierMask=%08x", modifierMask);425 printf(" modifierMask=%08x", (unsigned)modifierMask); 426 426 427 427 UniChar keyUnicodes[8] = {0,0,0,0, 0,0,0,0}; … … 436 436 ::GetEventParameter (evtRef, kEventParamKeyboardType, typeUInt32, NULL, 437 437 sizeof (keyboardType), NULL, &keyboardType); 438 printf(" keyboardType=%08x", keyboardType);438 printf(" keyboardType=%08x", (unsigned)keyboardType); 439 439 440 440 EventHotKeyID evtHotKeyId = {0,0}; 441 441 ::GetEventParameter (evtRef, typeEventHotKeyID, typeEventHotKeyID, NULL, 442 442 sizeof (evtHotKeyId), NULL, &evtHotKeyId); 443 printf(" evtHotKeyId={signature=%08x, .id=%08x}", evtHotKeyId.signature,evtHotKeyId.id);443 printf(" evtHotKeyId={signature=%08x, .id=%08x}", (unsigned)evtHotKeyId.signature, (unsigned)evtHotKeyId.id); 444 444 printf("\n"); 445 445 }
Note:
See TracChangeset
for help on using the changeset viewer.