diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-06-10 17:14:09 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-06-10 17:14:09 -0700 |
commit | 780590d1d2ca12a870987b620c4dafd77f55e8a3 (patch) | |
tree | cc75744126ae7a3dfaa7458aaebe37c7f8339d71 /stdlib/ver.tl | |
parent | 1b1e8f1da2d99a6c49c3949857c8bee8ef354d18 (diff) | |
download | txr-780590d1d2ca12a870987b620c4dafd77f55e8a3.tar.gz txr-780590d1d2ca12a870987b620c4dafd77f55e8a3.tar.bz2 txr-780590d1d2ca12a870987b620c4dafd77f55e8a3.zip |
lib: string bug spotted on Solaris.
* lib.c (string_finish): On platforms where we do not
HAVE_MALLOC_USABLE_SIZE, there is a compiler diagnostic.
The code is inappropriately using the set macro and
mkloc to assign the st->st.alloc member, which is just
a number (cnum type), and not a val. The set macro
is only needed when mutating a gc heap object to point to
another gc heap object.
Diffstat (limited to 'stdlib/ver.tl')
0 files changed, 0 insertions, 0 deletions