mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s4:registry - "patchfile_preg.c" - fix a datatype
This should be an "uint16_t" (only two bytes are written).
This commit is contained in:
parent
1038a134ed
commit
c7c8f0ccf3
@ -41,7 +41,7 @@ static WERROR preg_read_utf16(int fd, char *c)
|
||||
}
|
||||
static WERROR preg_write_utf16(int fd, const char *string)
|
||||
{
|
||||
codepoint_t v;
|
||||
uint16_t v;
|
||||
size_t i, size;
|
||||
|
||||
for (i = 0; i < strlen(string); i+=size) {
|
||||
|
Loading…
Reference in New Issue
Block a user