summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;