VirtualBox

Changeset 6815 in vbox


Ignore:
Timestamp:
Feb 5, 2008 9:47:54 PM (17 years ago)
Author:
vboxsync
Message:

Print misaligned member offset in hex.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/tstHelp.h

    r5999 r6815  
    6868        if ( RT_OFFSETOF(strct, member) & ((align) - 1) ) \
    6969        { \
    70             printf("%s::%s offset=%u expected alignment %x, meaning %u off\n", #strct, #member, (unsigned)RT_OFFSETOF(strct, member), \
     70            printf("%s::%s offset=%#x expected alignment %x, meaning %#x off\n", #strct, #member, (unsigned)RT_OFFSETOF(strct, member), \
    7171                   (unsigned)(align), (unsigned)(RT_OFFSETOF(strct, member) & ((align) - 1))); \
    7272            rc++; \
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