diff options
author | Volker Lendecke <vl@samba.org> | 2014-12-03 15:54:19 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-12-05 18:37:10 +0100 |
commit | d6e2db6f52fa26ae3c044ff56ebf814313ca4eb8 (patch) | |
tree | f792d8ab0ad75244615fb86f4d677812471f5de8 /lib/util/data_blob.c | |
parent | accb6b4fb8184ebe176dce76bda6b1f02584b99e (diff) | |
download | samba-d6e2db6f52fa26ae3c044ff56ebf814313ca4eb8.tar.gz samba-d6e2db6f52fa26ae3c044ff56ebf814313ca4eb8.tar.xz samba-d6e2db6f52fa26ae3c044ff56ebf814313ca4eb8.zip |
lib: Fix signed/unsigned comparisons
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/util/data_blob.c')
-rw-r--r-- | lib/util/data_blob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/data_blob.c b/lib/util/data_blob.c index 1b0e6ab35a..4723669858 100644 --- a/lib/util/data_blob.c +++ b/lib/util/data_blob.c @@ -135,7 +135,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; + size_t i; char *hex_string; hex_string = talloc_array(mem_ctx, char, (blob->length*2)+1); @@ -155,7 +155,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; + size_t i; char *hex_string; hex_string = talloc_array(mem_ctx, char, (blob->length*2)+1); |