From 5d85dd682a82a0d2c54ebfca3ad9c234f2599b84 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 26 Nov 2007 11:55:55 +0100 Subject: Fix a C++ warning (This used to be commit 9bf5ead4b2be57fa84e5b3137bfa0305a916f10f) --- source3/lib/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- cgit