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:
parent
8f6d7d6cbf
commit
e92302d707
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user