summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-03 16:14:34 +0200
committerMatthias Dieter Wallnöfer <mdw@sn-devel-104.sn.samba.org>2010-10-03 16:03:41 +0000
commitfba8e326f819146d10ca3088083df0cf20b571c1 (patch)
treec602dcd78ed82baa2c8284392d86f9f2cecd0b65 /source4
parentdcb1a0698acbd89df0f658778ce95825436d3847 (diff)
downloadsamba-fba8e326f819146d10ca3088083df0cf20b571c1.tar.gz
samba-fba8e326f819146d10ca3088083df0cf20b571c1.tar.bz2
samba-fba8e326f819146d10ca3088083df0cf20b571c1.zip
s4:patchfile_dotreg.c - use "size_t" when counting characters in DATA_BLOBs
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 3 16:03:41 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/registry/patchfile_dotreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/patchfile_dotreg.c b/source4/lib/registry/patchfile_dotreg.c
index b08900f43a..33fd6b609a 100644
--- a/source4/lib/registry/patchfile_dotreg.c
+++ b/source4/lib/registry/patchfile_dotreg.c
@@ -46,7 +46,7 @@ struct dotreg_data {
*/
_PUBLIC_ char *dotreg_data_blob_hex_string(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob)
{
- int i;
+ size_t i;
char *hex_string;
hex_string = talloc_array(mem_ctx, char, (blob->length*3)+1);