summaryrefslogtreecommitdiff
path: root/data_blob.c
diff options
context:
space:
mode:
Diffstat (limited to 'data_blob.c')
-rw-r--r--data_blob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/data_blob.c b/data_blob.c
index 2384661..16c78ce 100644
--- a/data_blob.c
+++ b/data_blob.c
@@ -141,7 +141,7 @@ print the data_blob as hex string
**/
_PUBLIC_ char *data_blob_hex_string_lower(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob)
{
- int i;
+ unsigned int i;
char *hex_string;
hex_string = talloc_array(mem_ctx, char, (blob->length*2)+1);
@@ -161,7 +161,7 @@ _PUBLIC_ char *data_blob_hex_string_lower(TALLOC_CTX *mem_ctx, const DATA_BLOB *
_PUBLIC_ char *data_blob_hex_string_upper(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob)
{
- int i;
+ unsigned int i;
char *hex_string;
hex_string = talloc_array(mem_ctx, char, (blob->length*2)+1);