From ea396927866aea6d1128b1dc87ecb245b5686731 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Tue, 13 Jan 2015 14:21:15 +0800 Subject: [PATCH] suite: fix an compilation warning reported by MSVC on test_arm_regression.c --- suite/arm/test_arm_regression.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/arm/test_arm_regression.c b/suite/arm/test_arm_regression.c index adab5bb9..0f5f5810 100644 --- a/suite/arm/test_arm_regression.c +++ b/suite/arm/test_arm_regression.c @@ -29,7 +29,7 @@ static char* hex_string(unsigned char *str, int len) // returns a malloced string that has the hex version of the string in it // null if failed to malloc char * hex_out = NULL; - size_t i = 0; + int i = 0; hex_out = (char *) malloc(len*2 + 1); // two ascii characters per input character, plus trailing null if (!hex_out) { goto Exit; }