VirtualBox

Changeset 72831 in vbox for trunk/src/VBox/Installer/win


Ignore:
Timestamp:
Jul 3, 2018 4:19:10 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
123376
Message:

MsiHack: one sizeof() is enough.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/MsiHack/MsiHack.cpp

    r69500 r72831  
    257257        {
    258258            g_papHandles = (PMSIHACKHANDLE *)pvNew;
    259             memset(&g_papHandles[g_cHandles], 0, (cNew - g_cHandles) * sizeof(sizeof(g_papHandles[0])));
     259            memset(&g_papHandles[g_cHandles], 0, (cNew - g_cHandles) * sizeof(g_papHandles[0]));
    260260            g_cHandles   = cNew;
    261261            fOkay = true;
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