Changeset 7f1c620 in mainline for arch/mips32/include/arg.h


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/include/arg.h

    r991779c5 r7f1c620  
    4343 */
    4444
    45 typedef __address va_list;
     45typedef uintptr_t va_list;
    4646
    4747#define va_start(ap, lst) \
     
    4949
    5050#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])
    5252
    5353#define va_copy(dst,src) ((dst)=(src))
Note: See TracChangeset for help on using the changeset viewer.