diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-21 11:52:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-21 11:52:05 -0700 |
commit | 9d29d3149780e97937a66ecc8dcd5c5c29d41688 (patch) | |
tree | 3e7364391aa6ed2a537ac0875956bffdc24f7166 | |
parent | 9e5159e4457b6ae427471cdafa954652806c5f60 (diff) | |
download | txr-9d29d3149780e97937a66ecc8dcd5c5c29d41688.tar.gz txr-9d29d3149780e97937a66ecc8dcd5c5c29d41688.tar.bz2 txr-9d29d3149780e97937a66ecc8dcd5c5c29d41688.zip |
ffi: ffi_uchar_put: statement after declaration.
* ffi.c (ffi_uchar_put): Fix for C90 compat and consistency.
-rw-r--r-- | ffi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -692,8 +692,8 @@ static val ffi_char_get(struct txr_ffi_type *tft, mem_t *src, val self) static void ffi_uchar_put(struct txr_ffi_type *tft, val n, mem_t *dst, val self) { - (void) tft; unsigned char v = c_uchar(n, self); + (void) tft; *coerce(unsigned char *, dst) = v; } |