about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2011-02-04 10:35:15 -0800
committerRoland McGrath <roland@redhat.com>2011-02-04 10:53:51 -0800
commita0bf67cca2b7de3a745ab5cf0f9d6e74078d57af (patch)
tree83eef0b2a457ba62a716a464dad5cadb6e9dbe09 /posix
parent091023f58fd6a18caeaa275b7c52048cc70dd3d2 (diff)
downloadglibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.tar.gz
glibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.tar.xz
glibc-a0bf67cca2b7de3a745ab5cf0f9d6e74078d57af.zip
Fix some warning nits.
Diffstat (limited to 'posix')
-rw-r--r--posix/fnmatch_loop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/fnmatch_loop.c b/posix/fnmatch_loop.c
index 5c15f46fd9..18a6667609 100644
--- a/posix/fnmatch_loop.c
+++ b/posix/fnmatch_loop.c
@@ -235,8 +235,8 @@ FCT (pattern, string, string_end, no_leading_period, flags, ends, alloca_used)
 	case L('['):
 	  {
 	    /* Nonzero if the sense of the character class is inverted.  */
-	    CHAR *p_init = p;
-	    CHAR *n_init = n;
+	    const CHAR *p_init = p;
+	    const CHAR *n_init = n;
 	    register int not;
 	    CHAR cold;
 	    UCHAR fn;