[Pcre-svn] [1072] code/trunk/pcre_compile.c: pcre32: compile…

Startseite
Nachricht löschen
Autor: Subversion repository
Datum:  
To: pcre-svn
Betreff: [Pcre-svn] [1072] code/trunk/pcre_compile.c: pcre32: compile: Fix signed/ unsigned mismatch in check_posix_syntax
Revision: 1072
          http://vcs.pcre.org/viewvc?view=rev&revision=1072
Author:   chpe
Date:     2012-10-16 16:54:40 +0100 (Tue, 16 Oct 2012)


Log Message:
-----------
pcre32: compile: Fix signed/unsigned mismatch in check_posix_syntax

Modified Paths:
--------------
    code/trunk/pcre_compile.c


Modified: code/trunk/pcre_compile.c
===================================================================
--- code/trunk/pcre_compile.c    2012-10-16 15:54:37 UTC (rev 1071)
+++ code/trunk/pcre_compile.c    2012-10-16 15:54:40 UTC (rev 1072)
@@ -2706,7 +2706,7 @@
 static BOOL
 check_posix_syntax(const pcre_uchar *ptr, const pcre_uchar **endptr)
 {
-int terminator;          /* Don't combine these lines; the Solaris cc */
+pcre_uchar terminator;          /* Don't combine these lines; the Solaris cc */
 terminator = *(++ptr);   /* compiler warns about "non-constant" initializer. */
 for (++ptr; *ptr != 0; ptr++)
   {