diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-07-31 03:53:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:26 -0500 |
commit | 02eea79624c85fb5ce6c3ffefe2d27e40c5ff97f (patch) | |
tree | a3fb9be7bfad975ba13651718a011bbad36597ca /source3/libsmb/clireadwrite.c | |
parent | e23781b3b304d1e69ad80af5ae9c0ed8d02cf996 (diff) | |
download | samba-02eea79624c85fb5ce6c3ffefe2d27e40c5ff97f.tar.gz samba-02eea79624c85fb5ce6c3ffefe2d27e40c5ff97f.tar.bz2 samba-02eea79624c85fb5ce6c3ffefe2d27e40c5ff97f.zip |
r17333: Some C++ warnings
(This used to be commit be9aaffdaccae06c8c035eaf31862e34b7cfbe38)
Diffstat (limited to 'source3/libsmb/clireadwrite.c')
-rw-r--r-- | source3/libsmb/clireadwrite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c index 883bc1260d..02fa804f41 100644 --- a/source3/libsmb/clireadwrite.c +++ b/source3/libsmb/clireadwrite.c @@ -265,11 +265,11 @@ static BOOL cli_issue_write(struct cli_state *cli, int fnum, off_t offset, BOOL large_writex = False; if (size > cli->bufsize) { - cli->outbuf = SMB_REALLOC(cli->outbuf, size + 1024); + cli->outbuf = (char *)SMB_REALLOC(cli->outbuf, size + 1024); if (!cli->outbuf) { return False; } - cli->inbuf = SMB_REALLOC(cli->inbuf, size + 1024); + cli->inbuf = (char *)SMB_REALLOC(cli->inbuf, size + 1024); if (cli->inbuf == NULL) { SAFE_FREE(cli->outbuf); return False; |