[Pcre-svn] [1093] code/trunk/pcre_newline.c: pcre32: newline…

Página superior
Eliminar este mensaje
Autor: Subversion repository
Fecha:  
A: pcre-svn
Asunto: [Pcre-svn] [1093] code/trunk/pcre_newline.c: pcre32: newline: Use uint32 for characters
Revision: 1093
          http://vcs.pcre.org/viewvc?view=rev&revision=1093
Author:   chpe
Date:     2012-10-16 16:55:59 +0100 (Tue, 16 Oct 2012)


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

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


Modified: code/trunk/pcre_newline.c
===================================================================
--- code/trunk/pcre_newline.c    2012-10-16 15:55:55 UTC (rev 1092)
+++ code/trunk/pcre_newline.c    2012-10-16 15:55:59 UTC (rev 1093)
@@ -76,7 +76,7 @@
 PRIV(is_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR endptr, int *lenptr,
   BOOL utf)
 {
-int c;
+pcre_uint32 c;
 (void)utf;
 #ifdef SUPPORT_UTF
 if (utf)
@@ -151,7 +151,7 @@
 PRIV(was_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR startptr, int *lenptr,
   BOOL utf)
 {
-int c;
+pcre_uint32 c;
 (void)utf;
 ptr--;
 #ifdef SUPPORT_UTF