mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-20 14:19:17 +02:00
Attempt to avoid compilation warnings on clang
This commit is contained in:
parent
d9d1b35a62
commit
e21735512e
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ object copy2heap(void *data, object obj);
|
|||
{ \
|
||||
gc_thread_data *thd = (gc_thread_data *) data; \
|
||||
/* Do not allow recursion to remove older frames */ \
|
||||
if ((char *)frame != thd->stack_prev_frame) { \
|
||||
if ((void *)frame != (void *)thd->stack_prev_frame) { \
|
||||
thd->stack_prev_frame = frame; \
|
||||
thd->stack_traces[thd->stack_trace_idx] = frame; \
|
||||
thd->stack_trace_idx = (thd->stack_trace_idx + 1) % MAX_STACK_TRACES; \
|
||||
|
|
Loading…
Add table
Reference in a new issue