summaryrefslogtreecommitdiffstats
path: root/source3/lib/debug.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2007-11-26 11:55:55 +0100
committerVolker Lendecke <vl@sernet.de>2007-11-26 14:36:29 +0100
commit5d85dd682a82a0d2c54ebfca3ad9c234f2599b84 (patch)
treecfcf3aa1c91a7767b5b0919da6fa7a7545c492a5 /source3/lib/debug.c
parent02571885a91c83c64cc894070f5c15bde81620b5 (diff)
downloadsamba-5d85dd682a82a0d2c54ebfca3ad9c234f2599b84.tar.gz
samba-5d85dd682a82a0d2c54ebfca3ad9c234f2599b84.tar.xz
samba-5d85dd682a82a0d2c54ebfca3ad9c234f2599b84.zip
Fix a C++ warning
(This used to be commit 9bf5ead4b2be57fa84e5b3137bfa0305a916f10f)
Diffstat (limited to 'source3/lib/debug.c')
-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 49ec40ae848..4afc953c3eb 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");
}