From ec63726165967203ba1a2cc6a6b8545fd0e1f6fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Fri, 14 Nov 2014 15:52:37 +0100 Subject: [PATCH] fixed compiler warning in src/psl.c --- src/psl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/psl.c b/src/psl.c index a4bc01b..8b73bb8 100644 --- a/src/psl.c +++ b/src/psl.c @@ -483,7 +483,7 @@ const char *psl_registrable_domain(const psl_ctx_t *psl, const char *domain) static int _str_is_ascii(const char *s) { - while (*s > 0 && *s < 128) s++; + while (((unsigned char)*s) < 128) s++; return !*s; }