summaryrefslogtreecommitdiff
path: root/pcrecpp.cc
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2010-06-01 13:42:06 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2010-06-01 13:42:06 +0000
commit4e474dd6a0c62402543dfadb6484457357f6c3b6 (patch)
tree397546570b5dea81323443a47d176f511ef1c5d9 /pcrecpp.cc
parente544851c5b9f813114ccb1944898b0a11284739e (diff)
downloadpcre-4e474dd6a0c62402543dfadb6484457357f6c3b6.tar.gz
Added a lot of (int) casts to avoid compiler warnings in systems where
size_t is 64-bit. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@530 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcrecpp.cc')
-rw-r--r--pcrecpp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcrecpp.cc b/pcrecpp.cc
index 3a68be2..5c7cef0 100644
--- a/pcrecpp.cc
+++ b/pcrecpp.cc
@@ -605,7 +605,7 @@ bool RE::DoMatch(const StringPiece& text,
// (as for kVecSize)
int space[21]; // use stack allocation for small vecsize (common case)
int* vec = vecsize <= 21 ? space : new int[vecsize];
- bool retval = DoMatchImpl(text, anchor, consumed, args, n, vec, vecsize);
+ bool retval = DoMatchImpl(text, anchor, consumed, args, n, vec, (int)vecsize);
if (vec != space) delete [] vec;
return retval;
}