Changeset 7f1c620 in mainline for test/fpu/sse1/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/fpu/sse1/test.c

    r991779c5 r7f1c620  
    4848{
    4949        int i;
    50         int arg __attribute__((aligned(16))) = (int)((__native) data);
     50        int arg __attribute__((aligned(16))) = (int)((unative_t) data);
    5151        int after_arg __attribute__((aligned(16)));
    5252
     
    7878{
    7979        int i;
    80         int arg __attribute__((aligned(16))) = (int)((__native) data);
     80        int arg __attribute__((aligned(16))) = (int)((unative_t) data);
    8181        int after_arg __attribute__((aligned(16)));
    8282
     
    117117
    118118        for (i=0; i<THREADS/2; i++) { 
    119                 if (!(t = thread_create(testit1, (void *)((__native)i*2), TASK, 0, "testit1")))
     119                if (!(t = thread_create(testit1, (void *)((unative_t)i*2), TASK, 0, "testit1")))
    120120                        panic("could not create thread\n");
    121121                thread_ready(t);
    122                 if (!(t = thread_create(testit2, (void *)((__native)i*2+1), TASK, 0, "testit2")))
     122                if (!(t = thread_create(testit2, (void *)((unative_t)i*2+1), TASK, 0, "testit2")))
    123123                        panic("could not create thread\n");
    124124                thread_ready(t);
Note: See TracChangeset for help on using the changeset viewer.