Skip to content

Commit c3be5ff

Browse files
authored
Merge pull request #480 from MrAnno/fix-gcc-warnings
str-utils: fix always true condition warning (-Wtype-limits)
2 parents 6c57a1f + 6031789 commit c3be5ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/str-utils.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ ch_isalpha(gchar c)
169169
static inline gboolean
170170
ch_isascii(gchar c)
171171
{
172-
return c >= 0 && c <= 127;
172+
return c >= 0 && (guchar ) c <= 127;
173173
}
174174

175175
static inline gchar

0 commit comments

Comments
 (0)