src/array_list.c

changeset 926
8fdd8d78c14b
parent 919
75da57d4634e
--- a/src/array_list.c	Sat Oct 12 19:41:04 2024 +0200
+++ b/src/array_list.c	Sun Oct 13 14:06:32 2024 +0200
@@ -290,7 +290,7 @@
 #ifndef CX_ARRAY_SWAP_SBO_SIZE
 #define CX_ARRAY_SWAP_SBO_SIZE 128
 #endif
-unsigned cx_array_swap_sbo_size = CX_ARRAY_SWAP_SBO_SIZE;
+const unsigned cx_array_swap_sbo_size = CX_ARRAY_SWAP_SBO_SIZE;
 
 void cx_array_swap(
         void *arr,

mercurial