Changeset 7f1c620 in mainline for arch/mips32/include/arg.h
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/mips32/include/arg.h
r991779c5 r7f1c620 43 43 */ 44 44 45 typedef __addressva_list;45 typedef uintptr_t va_list; 46 46 47 47 #define va_start(ap, lst) \ … … 49 49 50 50 #define va_arg(ap, type) \ 51 (((type *)((ap) = (va_list)( (sizeof(type) <= 4) ? (( __address)((ap) + 2*4 - 1) & (~3)) : ((__address)((ap) + 2*8 -1) & (~7)) )))[-1])51 (((type *)((ap) = (va_list)( (sizeof(type) <= 4) ? ((uintptr_t)((ap) + 2*4 - 1) & (~3)) : ((uintptr_t)((ap) + 2*8 -1) & (~7)) )))[-1]) 52 52 53 53 #define va_copy(dst,src) ((dst)=(src))
Note:
See TracChangeset
for help on using the changeset viewer.