mescc: Fix truncation of short.
authorJan Nieuwenhuizen <janneke@gnu.org>
Sat, 6 Oct 2018 09:57:04 +0000 (11:57 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Sat, 6 Oct 2018 09:57:04 +0000 (11:57 +0200)
commitbe4f23fae61834df63a105a9278bc9480a4e558e
tree4b381b700434ba9f514652cbd0e66dbf248c6624
parent6078fa50832ddba28a21931248fe5165577099fc
mescc: Fix truncation of short.

* module/mescc/compile.scm (convert-r0): Typo.  Fixes truncation of
short.  Thanks, pdewacht!
* scaffold/tests/a0-call-trunc-char.c: New file.
* scaffold/tests/a0-call-trunc-short.c: New file.
* build-aux/check-mescc.sh: Add them.
build-aux/check-mescc.sh
module/mescc/compile.scm
scaffold/tests/a0-call-trunc-char.c [new file with mode: 0644]
scaffold/tests/a0-call-trunc-short.c [new file with mode: 0644]