From 0bbec475f6ee669a5f190d8c25d530e412cba569 Mon Sep 17 00:00:00 2001 From: Dhruv Maroo Date: Wed, 20 Sep 2023 09:30:02 +0530 Subject: [PATCH] Removed signed-unsigned integer comparison in macro (#3875) * Cutter complains about this in its build --- librz/include/rz_analysis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librz/include/rz_analysis.h b/librz/include/rz_analysis.h index d4116d268b8..3a71b62c55a 100644 --- a/librz/include/rz_analysis.h +++ b/librz/include/rz_analysis.h @@ -749,7 +749,7 @@ static const char *RzAnalysisVarOriginKind_strings[] = { return strings[k]; \ } \ static inline T rz_analysis_##name##_from_string(const char *s) { \ - for (int i = 0; i < RZ_ARRAY_SIZE(strings); ++i) { \ + for (unsigned int i = 0; i < RZ_ARRAY_SIZE(strings); ++i) { \ if (RZ_STR_EQ(s, strings[i])) { \ return (T)i; \ } \