summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorivmai <ivmai>2011-07-14 15:43:13 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:07:00 +0200
commit87c8766806a3287dd99f31e913208fdf200017cc (patch)
treefe68a0f206c404875ccff6892326a52acc12a97a /tests
parent0e57ad67def39d7b672577499346103a4a19bdf8 (diff)
2011-07-14 Ivan Maidanski <ivmai@mail.ru>
* new_hblk.c (GC_build_fl): Adjust "h" local variable cast type when setting obj_link (to prevent compiler warning); reformat the comment. * tests/test.c (reverse_test_inner): Use proper type when touching "b" and "c" local variables (to prevent compiler warning).
Diffstat (limited to 'tests')
-rw-r--r--tests/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test.c b/tests/test.c
index 809853c..fa2eda1 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -638,8 +638,8 @@ void *GC_CALLBACK reverse_test_inner(void *data)
# ifndef THREADS
a = 0;
# endif
- *(volatile void **)&b = 0;
- *(volatile void **)&c = 0;
+ *(sexpr volatile *)&b = 0;
+ *(sexpr volatile *)&c = 0;
return 0;
}