Changeset 73097 in vbox for trunk/src/VBox/Devices/Input/DrvKeyboardQueue.cpp
- Timestamp:
- Jul 12, 2018 9:06:33 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123672
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Input/DrvKeyboardQueue.cpp
r69500 r73097 202 202 203 203 /** Converts a pointer to DRVKBDQUEUE::IPort to a DRVKBDQUEUE pointer. */ 204 #define IKEYBOARDPORT_2_DRVKBDQUEUE(pInterface) ( (PDRVKBDQUEUE)((char *)(pInterface) - RT_ OFFSETOF(DRVKBDQUEUE, IPort)) )204 #define IKEYBOARDPORT_2_DRVKBDQUEUE(pInterface) ( (PDRVKBDQUEUE)((char *)(pInterface) - RT_UOFFSETOF(DRVKBDQUEUE, IPort)) ) 205 205 206 206 … … 264 264 /* -=-=-=-=- IConnector -=-=-=-=- */ 265 265 266 #define PPDMIKEYBOARDCONNECTOR_2_DRVKBDQUEUE(pInterface) ( (PDRVKBDQUEUE)((char *)(pInterface) - RT_ OFFSETOF(DRVKBDQUEUE, IConnector)) )266 #define PPDMIKEYBOARDCONNECTOR_2_DRVKBDQUEUE(pInterface) ( (PDRVKBDQUEUE)((char *)(pInterface) - RT_UOFFSETOF(DRVKBDQUEUE, IConnector)) ) 267 267 268 268
Note:
See TracChangeset
for help on using the changeset viewer.