]> granicus.if.org Git - gc/commit
Change backtrace-specific code to comply with C++11 standard
authorIvan Maidanski <ivmai@mail.ru>
Fri, 2 Mar 2018 09:03:01 +0000 (12:03 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 2 Mar 2018 10:29:56 +0000 (13:29 +0300)
commit5a52a21cf777fb8883dc8247dea1d7645f9e0b70
tree11e6162441bf45312a78ba2ec9b22bfeb966120f
parent8d18e5d1d5d45493f519634ce0e9b09d675afef2
Change backtrace-specific code to comply with C++11 standard

Issue #206 (bdwgc).

* dbg_mlc.c (GC_get_back_ptr_info): Cast GC_REVEAL_POINTER() result
to ptr_t (when assigned to bp local variable).
* dbg_mlc.c (GC_generate_random_valid_address): Cast result of
GC_generate_random_heap_address() to ptr_t.
* dbg_mlc.c (GC_print_backtrace): Cast GC_print_heap_obj() argument
to ptr_t.
dbg_mlc.c