VirtualBox

Changeset 11662 in vbox for trunk/src/VBox/Frontends/VBoxFB


Ignore:
Timestamp:
Aug 26, 2008 2:13:24 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35366
Message:

Build fixes for PutScancodes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxFB/VBoxFB.cpp

    r8170 r11662  
    573573            if (numKeyEvents > 1)
    574574            {
    575                 keyboard->PutScancodes((PRInt32*)keyEvents, numKeyEvents,
     575                com::SafeArray <LONG> keys (numKeyEvents);
     576                for (size_t idx = 0; idx < keys.size();  ++idx)
     577                    keys[idx] = keyEvents[idx];
     578                keyboard->PutScancodes(ComSafeArrayAsInParam(keys),
    576579                                       &codesStored);
    577580            } else
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette