projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0e8db7
)
Silence yet another char ptr signedness warning
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 12 Jul 2007 07:00:43 +0000
(10:00 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 12 Jul 2007 07:00:43 +0000
(10:00 +0300)
misc/fnmatch.c
patch
|
blob
|
history
diff --git
a/misc/fnmatch.c
b/misc/fnmatch.c
index
1675546
..
aef3397
100644
(file)
--- 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')