Revision: 1310
http://vcs.pcre.org/viewvc?view=rev&revision=1310
Author: zherczeg
Date: 2013-04-06 07:51:09 +0100 (Sat, 06 Apr 2013)
Log Message:
-----------
Fix compiler warnings in JIT.
Modified Paths:
--------------
code/trunk/pcre_jit_compile.c
Modified: code/trunk/pcre_jit_compile.c
===================================================================
--- code/trunk/pcre_jit_compile.c 2013-04-05 15:35:59 UTC (rev 1309)
+++ code/trunk/pcre_jit_compile.c 2013-04-06 06:51:09 UTC (rev 1310)
@@ -737,7 +737,8 @@
{
pcre_uchar *name;
pcre_uchar *name2;
-int i, cbra_index;
+unsigned int cbra_index;
+int i;
/* Calculate important variables (like stack size) and checks whether all opcodes are supported. */
while (cc < ccend)
@@ -892,7 +893,7 @@
pcre_uchar *next_end;
pcre_uchar *max_end;
pcre_uchar type;
-sljit_uw length = end - begin;
+sljit_sw length = end - begin;
int min, max, i;
/* Detect fixed iterations first. */