From c7c8f0ccf370176479480772d88ccb794b6728a2 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sat, 10 Apr 2010 19:42:00 +0200 Subject: 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(-) (limited to 'source4') 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) { -- cgit