summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-04-06 06:51:09 +0000
committerzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-04-06 06:51:09 +0000
commit519e96a9dba044fda33be393d49696f50ced96ba (patch)
tree55ec6dd8cef44549b8ea7a467cd006f64bb05e02
parent6cfdfa01a2fd8749bccf17f030aea0536b5090aa (diff)
downloadpcre-519e96a9dba044fda33be393d49696f50ced96ba.tar.gz
Fix compiler warnings in JIT.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1310 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r--pcre_jit_compile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pcre_jit_compile.c b/pcre_jit_compile.c
index 79ad0e0..f9c66f0 100644
--- a/pcre_jit_compile.c
+++ b/pcre_jit_compile.c
@@ -737,7 +737,8 @@ static BOOL check_opcode_types(compiler_common *common, pcre_uchar *cc, pcre_uch
{
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;
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. */