Changeset 7f1c620 in mainline for test/mm/falloc1/test.c


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
  • test/mm/falloc1/test.c

    r991779c5 r7f1c620  
    4141
    4242void test(void) {
    43         __address * frames = (__address *) malloc(MAX_FRAMES*sizeof(__address), 0);
     43        uintptr_t * frames = (uintptr_t *) malloc(MAX_FRAMES*sizeof(uintptr_t), 0);
    4444        int results[MAX_ORDER+1];
    4545       
     
    5555                        allocated = 0;
    5656                        for (i = 0; i < MAX_FRAMES >> order; i++) {
    57                                 frames[allocated] = (__address) frame_alloc(order, FRAME_ATOMIC | FRAME_KA);
     57                                frames[allocated] = (uintptr_t) frame_alloc(order, FRAME_ATOMIC | FRAME_KA);
    5858                               
    5959                                if (ALIGN_UP(frames[allocated], FRAME_SIZE << order) != frames[allocated]) {
Note: See TracChangeset for help on using the changeset viewer.