Changes in kernel/test/fpu/sse1.c [7e752b2:96b02eb9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/test/fpu/sse1.c
r7e752b2 r96b02eb9 48 48 { 49 49 int i; 50 int arg __attribute__((aligned(16))) = (int) (( unative_t) data);50 int arg __attribute__((aligned(16))) = (int) ((sysarg_t) data); 51 51 int after_arg __attribute__((aligned(16))); 52 52 … … 79 79 { 80 80 int i; 81 int arg __attribute__((aligned(16))) = (int) (( unative_t) data);81 int arg __attribute__((aligned(16))) = (int) ((sysarg_t) data); 82 82 int after_arg __attribute__((aligned(16))); 83 83 … … 121 121 thread_t *t; 122 122 123 if (!(t = thread_create(testit1, (void *) (( unative_t) 2 * i), TASK, 0, "testit1", false))) {123 if (!(t = thread_create(testit1, (void *) ((sysarg_t) 2 * i), TASK, 0, "testit1", false))) { 124 124 TPRINTF("could not create thread %u\n", 2 * i); 125 125 break; … … 128 128 total++; 129 129 130 if (!(t = thread_create(testit2, (void *) (( unative_t) 2 * i + 1), TASK, 0, "testit2", false))) {130 if (!(t = thread_create(testit2, (void *) ((sysarg_t) 2 * i + 1), TASK, 0, "testit2", false))) { 131 131 TPRINTF("could not create thread %u\n", 2 * i + 1); 132 132 break;
Note:
See TracChangeset
for help on using the changeset viewer.