src/allocator.c

changeset 1180
4c3a69b9723a
parent 1134
60edcd57d54c
--- a/src/allocator.c	Mon Feb 10 21:30:51 2025 +0100
+++ b/src/allocator.c	Mon Feb 10 20:59:02 2025 +0100
@@ -71,7 +71,7 @@
         &cx_default_allocator_class,
         NULL
 };
-CxAllocator *cxDefaultAllocator = &cx_default_allocator;
+const CxAllocator * const cxDefaultAllocator = &cx_default_allocator;
 
 int cx_reallocate_(
         void **mem,

mercurial