More const fixes for compiler warnings from the waf build.
[samba.git] / source3 / lib / tallocmsg.c
index da380c93355304e6d3805eb3cdfe70e99e7903d2..9a0ce8ada18f324f991f33a457936bc12ae9b6a4 100644 (file)
@@ -65,7 +65,7 @@ static void msg_pool_usage_helper(const void *ptr, int depth, int max_depth, int
                               (unsigned long)talloc_total_blocks(ptr),
                               talloc_reference_count(ptr),
                               MIN(50, talloc_get_size(ptr)),
-                              (char *)ptr);
+                              (const char *)ptr);
                return;
        }