git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0257188
)
Fix a C++ warning
author
Volker Lendecke
<vl@sernet.de>
Mon, 26 Nov 2007 10:55:55 +0000
(11:55 +0100)
committer
Volker Lendecke
<vl@sernet.de>
Mon, 26 Nov 2007 13:36:29 +0000
(14:36 +0100)
(This used to be commit
9bf5ead4b2be57fa84e5b3137bfa0305a916f10f
)
source3/lib/debug.c
patch
|
blob
|
history
diff --git
a/source3/lib/debug.c
b/source3/lib/debug.c
index 49ec40ae848f0b72cfbd0b2c8e5d427575797094..4afc953c3ebc25d698bfda6511cde989fd5fd431 100644
(file)
--- 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");
}