tests/test_string.c

changeset 1693
c2d05cf1a062
parent 1685
0344372c7115
child 1694
a2757c6427cc
--- a/tests/test_string.c	Wed Dec 31 15:11:12 2025 +0100
+++ b/tests/test_string.c	Wed Dec 31 15:25:30 2025 +0100
@@ -343,7 +343,7 @@
 
     CX_TEST_DO {
         // the entire string
-        for (size_t i = 0; i < str.length; i++) {
+        for (off_t i = 0; i < str.length; i++) {
             CX_TEST_ASSERT(cx_strat(str, i) == str.ptr[i]);
         }
         // the entire string backwards

mercurial