Changeset 7f1c620 in mainline for generic/include/context.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
  • generic/include/context.h

    r991779c5 r7f1c620  
    4343#ifndef context_set
    4444#define context_set(c, _pc, stack, size)        \
    45         (c)->pc = (__address) (_pc);            \
    46         (c)->sp = ((__address) (stack)) + (size) - SP_DELTA;
     45        (c)->pc = (uintptr_t) (_pc);            \
     46        (c)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA;
    4747#endif /* context_set */
    4848
Note: See TracChangeset for help on using the changeset viewer.