summaryrefslogtreecommitdiff
path: root/source3/utils/smbget.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-08-26 22:59:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:53 -0500
commit8f9a26cb4082d6f74aeef02dff29fc9ee55e7257 (patch)
treee16ca12429a882f8122a2814be45b7d099a0f3a5 /source3/utils/smbget.c
parentf60a0a9fd3b18171a740a0c674494256bb38d3d2 (diff)
downloadsamba-8f9a26cb4082d6f74aeef02dff29fc9ee55e7257.tar.gz
samba-8f9a26cb4082d6f74aeef02dff29fc9ee55e7257.tar.bz2
samba-8f9a26cb4082d6f74aeef02dff29fc9ee55e7257.zip
r17847: Dummy commit
(This used to be commit cdcea36095a50a92ec1311979b8b2c572b971eaf)
Diffstat (limited to 'source3/utils/smbget.c')
-rw-r--r--source3/utils/smbget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbget.c b/source3/utils/smbget.c
index 4a2670e0c1..83677359fe 100644
--- a/source3/utils/smbget.c
+++ b/source3/utils/smbget.c
@@ -388,7 +388,7 @@ int smb_download_file(const char *base, const char *name, int recursive, int res
offset_check = 0;
}
- readbuf = SMB_MALLOC(blocksize);
+ readbuf = (char *)SMB_MALLOC(blocksize);
/* Now, download all bytes from offset_download to the end */
for(curpos = offset_download; curpos < remotestat.st_size; curpos+=blocksize) {