VirtualBox

Changeset 22963 in vbox


Ignore:
Timestamp:
Sep 11, 2009 5:19:00 PM (15 years ago)
Author:
vboxsync
Message:

tstDeviceStructSize.cpp: same as r52210 (gcc warns about operator precedence).

File:
1 edited

Legend:

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

    r22885 r22963  
    141141                   (unsigned)RT_OFFSETOF(strct, member), \
    142142                   (unsigned)(align), \
    143                    (unsigned)((align) - RT_OFFSETOF(strct, member) & ((align) - 1)), \
    144                    (unsigned)((align) - RT_OFFSETOF(strct, member) & ((align) - 1)) ); \
     143                   (unsigned)(((align) - RT_OFFSETOF(strct, member)) & ((align) - 1)), \
     144                   (unsigned)(((align) - RT_OFFSETOF(strct, member)) & ((align) - 1)) ); \
    145145            rc++; \
    146146        } \
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