[Pcre-svn] [533] code/trunk/pcre_compile.c: One more (int) c…

Página Inicial
Delete this message
Autor: Subversion repository
Data:  
Para: pcre-svn
Assunto: [Pcre-svn] [533] code/trunk/pcre_compile.c: One more (int) cast.
Revision: 533
          http://vcs.pcre.org/viewvc?view=rev&revision=533
Author:   ph10
Date:     2010-06-02 20:02:41 +0100 (Wed, 02 Jun 2010)


Log Message:
-----------
One more (int) cast.

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


Modified: code/trunk/pcre_compile.c
===================================================================
--- code/trunk/pcre_compile.c    2010-06-01 16:21:42 UTC (rev 532)
+++ code/trunk/pcre_compile.c    2010-06-02 19:02:41 UTC (rev 533)
@@ -4757,7 +4757,7 @@
         arg = ++ptr;
         while ((cd->ctypes[*ptr] & (ctype_letter|ctype_digit)) != 0
           || *ptr == '_') ptr++;
-        arglen = ptr - arg;
+        arglen = (int)(ptr - arg);
         }


       if (*ptr != CHAR_RIGHT_PARENTHESIS)