Changeset bf9afa07 in mainline for libc/include/align.h
- Timestamp:
- 2006-06-02T11:35:05Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2d22049
- Parents:
- 49d072e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/include/align.h
r49d072e rbf9afa07 43 43 * @param a Size of alignment, must be power of 2. 44 44 */ 45 #define ALIGN_UP(s, a) (( (s) + ((a) - 1)) & ~((a) - 1))45 #define ALIGN_UP(s, a) ((long)((s) + ((a) - 1)) & ~((long) (a) - 1)) 46 46 47 47 #endif
Note:
See TracChangeset
for help on using the changeset viewer.