mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
r17316: More C++ warnings -- 456 left
(This used to be commit 1e4ee728df
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
5a5deade6e
commit
e23781b3b3
@ -531,7 +531,7 @@ char *sid_binstring(const DOM_SID *sid)
|
||||
{
|
||||
char *buf, *s;
|
||||
int len = sid_size(sid);
|
||||
buf = SMB_MALLOC(len);
|
||||
buf = (char *)SMB_MALLOC(len);
|
||||
if (!buf)
|
||||
return NULL;
|
||||
sid_linearize(buf, len, sid);
|
||||
@ -549,7 +549,7 @@ char *sid_binstring_hex(const DOM_SID *sid)
|
||||
{
|
||||
char *buf, *s;
|
||||
int len = sid_size(sid);
|
||||
buf = SMB_MALLOC(len);
|
||||
buf = (char *)SMB_MALLOC(len);
|
||||
if (!buf)
|
||||
return NULL;
|
||||
sid_linearize(buf, len, sid);
|
||||
|
Reference in New Issue
Block a user