VirtualBox

Changeset 63177 in vbox for trunk/src/VBox/Main/src-all/win


Ignore:
Timestamp:
Aug 8, 2016 3:20:59 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109795
Message:

Main: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/win/VBoxProxyStub.c

    r62811 r63177  
    744744        char *pszExistingData = alloca(cbExistingData);
    745745        DWORD dwExistingType;
    746         rc = RegQueryValueExA(hkey, pszValueNm, 0 /*Reserved*/, &dwExistingType, pszExistingData, &cbExistingData);
     746        rc = RegQueryValueExA(hkey, pszValueNm, 0 /*Reserved*/, &dwExistingType, (PBYTE)pszExistingData, &cbExistingData);
    747747        if (rc == ERROR_SUCCESS)
    748748        {
     
    771771     * Set the value.
    772772     */
    773     rc = RegSetValueExA(hkey, pszValueNm, 0 /*Reserved*/, REG_SZ, pszValue, cbValue);
     773    rc = RegSetValueExA(hkey, pszValueNm, 0 /*Reserved*/, REG_SZ, (PBYTE)pszValue, cbValue);
    774774    if (rc == ERROR_SUCCESS)
    775775    {
Note: See TracChangeset for help on using the changeset viewer.

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