Skip to content

Commit

Permalink
config: fix compiler warning
Browse files Browse the repository at this point in the history
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
  • Loading branch information
yshui committed Aug 11, 2024
1 parent 07488a0 commit 4ef6562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config_libconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ static inline void parse_wintype_config(const config_t *cfg, const char *member_
}
}

static enum animation_trigger parse_animation_trigger(const char *trigger) {
for (int i = 0; i < ANIMATION_TRIGGER_COUNT; i++) {
enum animation_trigger parse_animation_trigger(const char *trigger) {
for (unsigned i = 0; i < ANIMATION_TRIGGER_COUNT; i++) {
if (strcasecmp(trigger, animation_trigger_names[i]) == 0) {
return i;
}
Expand Down

0 comments on commit 4ef6562

Please sign in to comment.