add single instance mode
[uwplayer.git] / ucx / printf.c
index 94a556f..3f9c4a2 100644 (file)
@@ -80,7 +80,7 @@ int cx_vfprintf(
 }
 
 cxmutstr cx_asprintf_a(
-        CxAllocator *allocator,
+        CxAllocator const *allocator,
         char const *fmt,
         ...
 ) {
@@ -93,7 +93,7 @@ cxmutstr cx_asprintf_a(
 }
 
 cxmutstr cx_vasprintf_a(
-        CxAllocator *a,
+        CxAllocator const *a,
         char const *fmt,
         va_list ap
 ) {