diff options
author | Anthony Green <green@moxielogic.com> | 2021-07-16 11:26:02 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2021-07-16 11:26:02 -0400 |
commit | 8bcf594749882e9e4966fec2e3d6009d08a554ab (patch) | |
tree | b5e8eecf99af8c5e003c26cba5c84794bd9241a1 /testsuite | |
parent | c96b057757446fe4277f30e8423f09851ae5d0fa (diff) | |
download | libffi-8bcf594749882e9e4966fec2e3d6009d08a554ab.tar.gz |
Fix test case
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/libffi.closures/cls_multi_uchar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/libffi.closures/cls_multi_uchar.c b/testsuite/libffi.closures/cls_multi_uchar.c index 5d6ae7c..76f90a0 100644 --- a/testsuite/libffi.closures/cls_multi_uchar.c +++ b/testsuite/libffi.closures/cls_multi_uchar.c @@ -85,7 +85,7 @@ int main (void) /* { dg-output "1 2 127 125: 255" } */ printf("res: %d\n", (unsigned char)res_call); /* { dg-output "\nres: 255" } */ - CHECK(res_call == 255); + CHECK((unsigned char)res_call == 255); CHECK(ffi_prep_closure_loc(pcl, &cif, test_func_gn, NULL, code) == FFI_OK); |