Skip to content

Commit

Permalink
str-utils: fix always true condition warning (-Wtype-limits)
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed Jan 31, 2025
1 parent 599f005 commit 6031789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/str-utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ ch_isalpha(gchar c)
static inline gboolean
ch_isascii(gchar c)
{
return c >= 0 && c <= 127;
return c >= 0 && (guchar ) c <= 127;
}

static inline gchar
Expand Down

0 comments on commit 6031789

Please sign in to comment.