summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c
index 49ec40ae84..4afc953c3e 100644
--- a/source3/lib/debug.c
+++ b/source3/lib/debug.c
@@ -537,7 +537,7 @@ void debug_init(void)
for(p = default_classname_table; *p; p++) {
debug_add_class(*p);
}
- format_bufr = SMB_MALLOC(FORMAT_BUFR_SIZE);
+ format_bufr = (char *)SMB_MALLOC(FORMAT_BUFR_SIZE);
if (!format_bufr) {
smb_panic("debug_init: unable to create buffer");
}