diff options
author | Volker Lendecke <vl@sernet.de> | 2007-11-26 11:55:55 +0100 |
---|---|---|
committer | Volker Lendecke <vl@sernet.de> | 2007-11-26 14:36:29 +0100 |
commit | 5d85dd682a82a0d2c54ebfca3ad9c234f2599b84 (patch) | |
tree | cfcf3aa1c91a7767b5b0919da6fa7a7545c492a5 /source3 | |
parent | 02571885a91c83c64cc894070f5c15bde81620b5 (diff) | |
download | samba-5d85dd682a82a0d2c54ebfca3ad9c234f2599b84.tar.gz samba-5d85dd682a82a0d2c54ebfca3ad9c234f2599b84.tar.bz2 samba-5d85dd682a82a0d2c54ebfca3ad9c234f2599b84.zip |
Fix a C++ warning
(This used to be commit 9bf5ead4b2be57fa84e5b3137bfa0305a916f10f)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/debug.c | 2 |
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"); } |