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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user