From ddd56a92609eacd598cde41e4244b08722f01730 Mon Sep 17 00:00:00 2001 From: Armin Rigo Date: Wed, 8 Jun 2022 10:10:31 +0200 Subject: tweak the test for pypy, where we get an extra null byte after a plain 'char' --- c/test_c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/test_c.py b/c/test_c.py index efc1b74..f2f1c70 100644 --- a/c/test_c.py +++ b/c/test_c.py @@ -3638,7 +3638,7 @@ def test_struct_array_no_length(): assert not buffer_warning(cast(BIntP, p)) def test_more_buffer_warning(): - BChar = new_primitive_type("char") + BChar = new_primitive_type("unsigned char") BCharP = new_pointer_type(BChar) BArray = new_array_type(BCharP, 10) # char[10] p = newp(BArray) -- cgit v1.2.1