From c7c8f0ccf370176479480772d88ccb794b6728a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Sat, 10 Apr 2010 19:42:00 +0200 Subject: [PATCH] s4:registry - "patchfile_preg.c" - fix a datatype This should be an "uint16_t" (only two bytes are written). --- source4/lib/registry/patchfile_preg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/lib/registry/patchfile_preg.c b/source4/lib/registry/patchfile_preg.c index eb84b564035..e65d52e0c0f 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) { -- 2.11.4.GIT