diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2010-06-01 13:42:06 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2010-06-01 13:42:06 +0000 |
commit | 4e474dd6a0c62402543dfadb6484457357f6c3b6 (patch) | |
tree | 397546570b5dea81323443a47d176f511ef1c5d9 /pcrecpp.cc | |
parent | e544851c5b9f813114ccb1944898b0a11284739e (diff) | |
download | pcre-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.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |