summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/registry/patchfile_preg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/patchfile_preg.c b/source4/lib/registry/patchfile_preg.c
index eb84b56403..e65d52e0c0 100644
--- a/source4/lib/registry/patchfile_preg.c
+++ b/source4/lib/registry/patchfile_preg.c
@@ -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) {