diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-02-14 06:29:25 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-02-14 06:29:25 -0800 |
commit | 05fa134d9b6d979190718faeee3760124ec382e4 (patch) | |
tree | 470fd608298c500a39388a6b9b938fd2ba1cffd5 | |
parent | 14362285d0ff962e394a9b916fad0239c8dc8e7b (diff) | |
download | txr-05fa134d9b6d979190718faeee3760124ec382e4.tar.gz txr-05fa134d9b6d979190718faeee3760124ec382e4.tar.bz2 txr-05fa134d9b6d979190718faeee3760124ec382e4.zip |
Another implicit conversion in continuations implementation.
* unwind.c (revive_cont): Explicitly convert delta, which is
necessarily signed because it may be negative, to uint_ptr_t
before adding it to that type.
-rw-r--r-- | unwind.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1093,7 +1093,7 @@ static val revive_cont(val dc, val arg) if (word >= orig_start - UW_CONT_FRAME_BEFORE && word <= orig_end && is_ptr(coerce(val, word))) { - *wordptr = word + delta; + *wordptr = word + convert(uint_ptr_t, delta); } #if HAVE_VALGRIND |