summaryrefslogtreecommitdiffstats
path: root/rand.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-07-30 20:05:41 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-07-30 20:05:41 -0700
commit3b78501ff661714dfa96cffe7581f0f77ec6599c (patch)
tree3ac3dc19ae367d8c3ee49fd7642f3aa21ff0e03d /rand.c
parent2e59b42c24a6cb982b26d7460d065d9bfd789f69 (diff)
downloadtxr-3b78501ff661714dfa96cffe7581f0f77ec6599c.tar.gz
txr-3b78501ff661714dfa96cffe7581f0f77ec6599c.tar.bz2
txr-3b78501ff661714dfa96cffe7581f0f77ec6599c.zip
ffi: bugfix: kind enum in wrong argument positions.
* ffi.c (ffi_type_compile, ffi_init_types): Fixed a number of instances of make_ffi_type_builtin being passed the type kind as the fourth rather than the third argument. The strange fluke here is that FFI_KIND_NUM is 1, so this actually made no difference in all the case in ffi_init_types! However in ffi_type_compile, it would have set the type of cptr-s to struct, and its size to 3. Anyway, we were saved from a regression by the good pre-release habit of compiling as C++!
Diffstat (limited to 'rand.c')
0 files changed, 0 insertions, 0 deletions