summaryrefslogtreecommitdiff
path: root/source4/lib/registry/patchfile_preg.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-10 19:42:00 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-04-10 19:58:08 +0200
commitc7c8f0ccf370176479480772d88ccb794b6728a2 (patch)
treef9c133910e3e56808866818dac2b3ce3f5e0de81 /source4/lib/registry/patchfile_preg.c
parent1038a134eddd178635d3c1187cb92a42b884e76f (diff)
downloadsamba-c7c8f0ccf370176479480772d88ccb794b6728a2.tar.gz
samba-c7c8f0ccf370176479480772d88ccb794b6728a2.tar.bz2
samba-c7c8f0ccf370176479480772d88ccb794b6728a2.zip
s4:registry - "patchfile_preg.c" - fix a datatype
This should be an "uint16_t" (only two bytes are written).
Diffstat (limited to 'source4/lib/registry/patchfile_preg.c')
-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) {