projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3481 from alexrp/master
[mono.git]
/
mono
/
unit-tests
/
test-mono-linked-list-set.c
diff --git
a/mono/unit-tests/test-mono-linked-list-set.c
b/mono/unit-tests/test-mono-linked-list-set.c
index 7d5cac53085e4ff5f6148fb3a3095a0a5c4f81cd..a5e01ebe09ec6e5f913e1ad936c822596d39ecde 100644
(file)
--- 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)
{
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;
}
assert (node->state == STATE_BUSY);
node->state = STATE_OUT;
}
@@
-56,7
+56,7
@@
free_node (void *n)
static void*
worker (void *arg)
{
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;
MonoThreadHazardPointers *hp;
int skip = thread_data->skip;
int i, j;