Removed signed-unsigned integer comparison in macro (#3875)

* Cutter complains about this in its build
This commit is contained in:
Dhruv Maroo 2023-09-20 09:30:02 +05:30 committed by GitHub
parent a21f4bc7e7
commit 0bbec475f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; \
} \