Changeset ef0e259 in mainline


Ignore:
Timestamp:
2005-12-09T00:36:07Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
939dfd7
Parents:
0d04024
Message:

Missing braces.
By the way, new ALIGN_UP broke ppc32 (commits 564 vs. 565).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/align.h

    r0d04024 ref0e259  
    4343 * @param a Size of alignment, must be power of 2.
    4444 */
    45 #define ALIGN_UP(s, a)          ((s + ((a) - 1)) & ~((a) - 1))
     45#define ALIGN_UP(s, a)          (((s) + ((a) - 1)) & ~((a) - 1))
    4646
    4747#endif
Note: See TracChangeset for help on using the changeset viewer.