1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

smb_server: Preserve signedness of string push return value.

This commit is contained in:
Jelmer Vernooij 2012-02-05 20:18:59 +01:00
parent 8f6d7d6cbf
commit e92302d707

View File

@ -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;