summary refs log tree commit diff
path: root/string/strxfrm.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/strxfrm.c')
-rw-r--r--string/strxfrm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/strxfrm.c b/string/strxfrm.c
index f94c16b50b..6d0a7061b7 100644
--- a/string/strxfrm.c
+++ b/string/strxfrm.c
@@ -179,7 +179,7 @@ STRXFRM (STRING_TYPE *dest, const STRING_TYPE *src, size_t n)
 
 	  /* Here we have to check for IGNORE entries.  If these are
 	     found we count them and go on witht he next value.  */
-	  while ((w = run->data[pass].value[idx]) == IGNORE_CHAR)
+	  while ((w = run->data[pass].value[idx]) == (u_int32_t) IGNORE_CHAR)
 	    {
 	      ++ignore;
 	      if ((forward && ++idx >= run->data[pass].number)