[Pcre-svn] [1092] code/trunk/pcre_exec.c: pcre32: exec: Use …

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [1092] code/trunk/pcre_exec.c: pcre32: exec: Use uint32 for characters
Revision: 1092
          http://vcs.pcre.org/viewvc?view=rev&revision=1092
Author:   chpe
Date:     2012-10-16 16:55:55 +0100 (Tue, 16 Oct 2012)


Log Message:
-----------
pcre32: exec: Use uint32 for characters

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


Modified: code/trunk/pcre_exec.c
===================================================================
--- code/trunk/pcre_exec.c    2012-10-16 15:55:52 UTC (rev 1091)
+++ code/trunk/pcre_exec.c    2012-10-16 15:55:55 UTC (rev 1092)
@@ -3558,7 +3558,7 @@
 #ifdef SUPPORT_UTF
     if (utf)
       {
-      register unsigned int ch, och;
+      register pcre_uint32 ch, och;


       ecode++;
       GETCHARINC(ch, ecode);
@@ -3585,7 +3585,7 @@
     else
 #endif
       {
-      register unsigned int ch = ecode[1];
+      register pcre_uint32 ch = ecode[1];
       c = *eptr++;
       if (ch == c || (op == OP_NOTI && TABLE_GET(ch, md->fcc, ch) == c))
         RRETURN(MATCH_NOMATCH);