projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f5d294
)
Fix 'incompatible ptr-to-int conversion' compiler warning in push_all_stack
author
Ivan Maidanski
<ivmai@mail.ru>
Thu, 17 Nov 2016 06:56:12 +0000
(09:56 +0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Thu, 17 Nov 2016 06:56:12 +0000
(09:56 +0300)
* mark_rts.c [TRACE_BUF] (GC_push_all_stack_partially_eager): Add
explicit cast to word for GC_add_trace_entry bottom/top arguments.
mark_rts.c
patch
|
blob
|
history
diff --git
a/mark_rts.c
b/mark_rts.c
index
4726af1
..
d0d2ba4
100644
(file)
--- a/
mark_rts.c
+++ b/
mark_rts.c
@@
-614,7
+614,7
@@
STATIC void GC_push_all_stack_partially_eager(ptr_t bottom, ptr_t top,
GC_push_all_eager(bottom, top);
}
# ifdef TRACE_BUF
-
GC_add_trace_entry("GC_push_all_stack", bottom,
top);
+
GC_add_trace_entry("GC_push_all_stack", (word)bottom, (word)
top);
# endif
}