VirtualBox

Changeset 33131 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Oct 14, 2010 1:18:51 PM (14 years ago)
Author:
vboxsync
Message:

VHD: Fix comparison

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VHDHDDCore.cpp

    r32553 r33131  
    873873                         &vhdDynamicDiskHeader, sizeof(VHDDynamicDiskHeader),
    874874                         NULL);
    875     if (!memcmp(vhdDynamicDiskHeader.Cookie, VHD_DYNAMIC_DISK_HEADER_COOKIE, VHD_DYNAMIC_DISK_HEADER_COOKIE_SIZE))
     875    if (memcmp(vhdDynamicDiskHeader.Cookie, VHD_DYNAMIC_DISK_HEADER_COOKIE, VHD_DYNAMIC_DISK_HEADER_COOKIE_SIZE))
    876876        return VERR_INVALID_PARAMETER;
    877877
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