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

r24994: Fix some C++ warnings.

This commit is contained in:
Jelmer Vernooij
2007-09-07 13:31:15 +00:00
committed by Gerald (Jerry) Carter
parent a5a1a55405
commit 925abf74fa
32 changed files with 77 additions and 73 deletions

View File

@@ -83,7 +83,7 @@ struct smbcli_request *smbcli_request_setup_nonsmb(struct smbcli_transport *tran
/* over allocate by a small amount */
req->out.allocated = req->out.size + REQ_OVER_ALLOCATION;
req->out.buffer = talloc_size(req, req->out.allocated);
req->out.buffer = talloc_array(req, uint8_t, req->out.allocated);
if (!req->out.buffer) {
return NULL;
}