X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Funit-tests%2Ftest-mono-linked-list-set.c;h=a5e01ebe09ec6e5f913e1ad936c822596d39ecde;hb=49a83d0b724b383811df336311d51f2c2d76b439;hp=7d5cac53085e4ff5f6148fb3a3095a0a5c4f81cd;hpb=dacc3f8c5d4331f7a40413f3a802ec4049da1e2e;p=mono.git diff --git a/mono/unit-tests/test-mono-linked-list-set.c b/mono/unit-tests/test-mono-linked-list-set.c index 7d5cac53085..a5e01ebe09e 100644 --- a/mono/unit-tests/test-mono-linked-list-set.c +++ b/mono/unit-tests/test-mono-linked-list-set.c @@ -48,7 +48,7 @@ mono_hazard_pointer_clear_all (MonoThreadHazardPointers *hp, int retain) static void free_node (void *n) { - node_t *node = n; + node_t *node = (node_t *)n; assert (node->state == STATE_BUSY); node->state = STATE_OUT; } @@ -56,7 +56,7 @@ free_node (void *n) static void* worker (void *arg) { - thread_data_t *thread_data = arg; + thread_data_t *thread_data = (thread_data_t *)arg; MonoThreadHazardPointers *hp; int skip = thread_data->skip; int i, j;