summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-02-05 20:18:59 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-02-07 01:11:07 +0100
commite92302d7077ec452a95021d5b69789d455955293 (patch)
treedde6780828db409e408db6e6996d667814058d4c
parent8f6d7d6cbf6c1443533e02dc7349c796785f90b7 (diff)
downloadsamba-e92302d7077ec452a95021d5b69789d455955293.tar.gz
samba-e92302d7077ec452a95021d5b69789d455955293.tar.bz2
samba-e92302d7077ec452a95021d5b69789d455955293.zip
smb_server: Preserve signedness of string push return value.
-rw-r--r--source4/smb_server/blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smb_server/blob.c b/source4/smb_server/blob.c
index 62ee61d6b9..c0077c01c9 100644
--- a/source4/smb_server/blob.c
+++ b/source4/smb_server/blob.c
@@ -180,7 +180,7 @@ NTSTATUS smbsrv_blob_append_string(TALLOC_CTX *mem_ctx,
int default_flags,
int flags)
{
- size_t ret;
+ ssize_t ret;
uint32_t offset;
const int max_bytes_per_char = 3;