changeset 625:dfed3754f7fd

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 17 Jan 2020 04:20:16 +0200
parents 36c50873e02c
children 98c8bd80f633
files th_crypto.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/th_crypto.c	Fri Jan 17 04:20:03 2020 +0200
+++ b/th_crypto.c	Fri Jan 17 04:20:16 2020 +0200
@@ -236,8 +236,7 @@
 
 void th_md5_print(FILE *fp, const th_md5hash_t digest)
 {
-    int i;
-    for (i = 0; i < TH_MD5HASH_LENGTH; i++)
+    for (size_t i = 0; i < TH_MD5HASH_LENGTH; i++)
         fprintf(fp, "%02x", digest[i]);
 }