VirtualBox

Ignore:
Timestamp:
Sep 11, 2009 9:04:24 AM (15 years ago)
Author:
vboxsync
Message:

tstHelp: gcc warns about operator precedence

File:
1 edited

Legend:

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

    r22885 r22945  
    7777                   (unsigned)RT_OFFSETOF(strct, member), \
    7878                   (unsigned)(align), \
    79                    (unsigned)((align) - RT_OFFSETOF(strct, member) & ((align) - 1)), \
    80                    (unsigned)((align) - RT_OFFSETOF(strct, member) & ((align) - 1)) ); \
     79                   (unsigned)(((align) - RT_OFFSETOF(strct, member)) & ((align) - 1)), \
     80                   (unsigned)(((align) - RT_OFFSETOF(strct, member)) & ((align) - 1)) ); \
    8181            rc++; \
    8282        } \
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