From fba8e326f819146d10ca3088083df0cf20b571c1 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 3 Oct 2010 16:14:34 +0200 Subject: s4:patchfile_dotreg.c - use "size_t" when counting characters in DATA_BLOBs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Autobuild-User: Matthias Dieter Wallnöfer Autobuild-Date: Sun Oct 3 16:03:41 UTC 2010 on sn-devel-104 --- source4/lib/registry/patchfile_dotreg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib') 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); -- cgit