Fix breakage of SRFI-4 C accessors
authorAndy Wingo <wingo@pobox.com>
Wed, 19 Mar 2014 21:41:19 +0000 (22:41 +0100)
committerAndy Wingo <wingo@pobox.com>
Wed, 19 Mar 2014 21:41:19 +0000 (22:41 +0100)
commit2be7131ee0c38336483226657872a8faa62a2562
tree40d99ccd801da7a47c8448777873eb3fb0de11fe
parent92b793da2b43af0ed470c43dc7e41409ca61f1b4
Fix breakage of SRFI-4 C accessors

* libguile/srfi-4.c (DEFINE_SRFI_4_C_FUNCS): Fix bad assumption that
  width was a byte width.  Thanks very much to Barry Fishman for the
  report, and to Daniel Llorens for tracking it down.

* test-suite/standalone/Makefile.am (test_srfi_4_CFLAGS):
* test-suite/standalone/test-srfi-4.c: Add test.
libguile/srfi-4.c
test-suite/standalone/Makefile.am
test-suite/standalone/test-srfi-4.c [new file with mode: 0644]