tests/test_list.c

changeset 890
54565fd74e74
parent 886
5f5514bb104b
--- a/tests/test_list.c	Wed Sep 18 00:02:18 2024 +0200
+++ b/tests/test_list.c	Sat Sep 28 15:47:28 2024 +0200
@@ -1050,7 +1050,7 @@
 roll_out_test_invokers(name)
 
 static void set_default_class_funcs(CxList *list, cx_list_class *defaulted_cl) {
-    cx_list_class const *cl = list->climpl == NULL ? list->cl : list->climpl;
+    const cx_list_class *cl = list->climpl == NULL ? list->cl : list->climpl;
     memcpy(defaulted_cl, cl, sizeof(cx_list_class));
     defaulted_cl->insert_array = cx_list_default_insert_array;
     defaulted_cl->insert_sorted = cx_list_default_insert_sorted;
@@ -1564,7 +1564,7 @@
 }
 
 static CX_TEST_SUBROUTINE(test_list_verify_destructor, CxList *list,
-                          int const *testdata, size_t testdata_len) {
+                          const int *testdata, size_t testdata_len) {
     destr_test_ctr = 0;
     
     int off = cxListIsStoringPointers(list) ? 1 : 0;

mercurial