summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-12 10:00:43 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-12 10:00:43 +0300
commitcd4fb0f9f4c583d60f4a86e62f0c8cc268af408d (patch)
tree53da6514083447f0cb40acafe871d6e92db6099d
parentd0e8db7af4ca8d67f1d2047a966801ffc1165dfa (diff)
downloadrpm-cd4fb0f9f4c583d60f4a86e62f0c8cc268af408d.tar.gz
rpm-cd4fb0f9f4c583d60f4a86e62f0c8cc268af408d.tar.bz2
rpm-cd4fb0f9f4c583d60f4a86e62f0c8cc268af408d.zip
Silence yet another char ptr signedness warning
-rw-r--r--misc/fnmatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/fnmatch.c b/misc/fnmatch.c
index 167554626..aef33970f 100644
--- a/misc/fnmatch.c
+++ b/misc/fnmatch.c
@@ -35,7 +35,7 @@ __strchrnul (const char *s, int c)
/* Handle the first few characters by reading one character at a time.
Do this until CHAR_PTR is aligned on a longword boundary. */
- for (char_ptr = s; ((unsigned long int) char_ptr
+ for (char_ptr = (const unsigned char *)s; ((unsigned long int) char_ptr
& (sizeof (longword) - 1)) != 0;
++char_ptr)
if (*char_ptr == c || *char_ptr == '\0')