Skip to content

Commit

Permalink
Removed signed-unsigned integer comparison in macro (#3875)
Browse files Browse the repository at this point in the history
* Cutter complains about this in its build
  • Loading branch information
DMaroo committed Sep 20, 2023
1 parent a21f4bc commit 0bbec47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/include/rz_analysis.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
} \
Expand Down

0 comments on commit 0bbec47

Please sign in to comment.