1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-21 12:23:50 +03:00

Fix a C++ warning

This commit is contained in:
Volker Lendecke
2007-11-26 11:55:55 +01:00
parent 102a247df9
commit 9bf5ead4b2

View File

@@ -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");
}