VirtualBox

Ignore:
Timestamp:
Apr 7, 2018 2:10:34 PM (7 years ago)
Author:
vboxsync
Message:

tstDeviceStructSize,tstHelp.h: Fixed cast in CHECK_SIZE that can cause troublesome compliation warnings/errors when things go wrong.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp

    r71247 r71731  
    151151        { \
    152152            printf("tstDeviceStructSize: Error! sizeof(%s): %#x (%d)  Size wrong by %d (should be %d -- but is %d)\n", \
    153                    #type, (int)sizeof(type), (int)sizeof(type), (int)(sizeof(type) - size), (int)size, (int)sizeof(type)); \
     153                   #type, (int)sizeof(type), (int)sizeof(type), (int)sizeof(type) - (int)size, (int)size, (int)sizeof(type)); \
    154154            rc++; \
    155155        } \
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