[Pcre-svn] [1094] code/trunk/pcre_printint.c: pcre32: printi…

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


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

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


Modified: code/trunk/pcre_printint.c
===================================================================
--- code/trunk/pcre_printint.c    2012-10-16 15:55:59 UTC (rev 1093)
+++ code/trunk/pcre_printint.c    2012-10-16 15:56:02 UTC (rev 1094)
@@ -223,7 +223,7 @@
 {
 while (*ptr != '\0')
   {
-  register int c = *ptr++;
+  register pcre_uint32 c = *ptr++;
   if (PRINTABLE(c)) fprintf(f, "%c", c); else fprintf(f, "\\x{%x}", c);
   }
 }
@@ -337,7 +337,7 @@
   {
   pcre_uchar *ccode;
   const char *flag = "  ";
-  int c;
+  pcre_uint32 c;
   int extra = 0;


if (print_lengths)