summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/RegularExpression.cxx
diff options
context:
space:
mode:
authorFrancois Bertel <francois.bertel@kitware.com>2009-03-18 11:32:12 (GMT)
committerFrancois Bertel <francois.bertel@kitware.com>2009-03-18 11:32:12 (GMT)
commit489df7836eaff9acd2d5db433d9d5fd8189fd5b1 (patch)
treed9bfd31416243e2ad4b695fd8ad6cb91e53243ec /Source/kwsys/RegularExpression.cxx
parent4066abc7f3ce603781273da5807fd2f7f2f8fe89 (diff)
downloadCMake-489df7836eaff9acd2d5db433d9d5fd8189fd5b1.zip
CMake-489df7836eaff9acd2d5db433d9d5fd8189fd5b1.tar.gz
CMake-489df7836eaff9acd2d5db433d9d5fd8189fd5b1.tar.bz2
COMP:Fix warning on VS 64bit. Don't why gcc 4.3.2 didn't catch this one on a 64bit machine with -Wconversion on.
Diffstat (limited to 'Source/kwsys/RegularExpression.cxx')
-rw-r--r--Source/kwsys/RegularExpression.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/RegularExpression.cxx b/Source/kwsys/RegularExpression.cxx
index 89cab6c..a1c98ea 100644
--- a/Source/kwsys/RegularExpression.cxx
+++ b/Source/kwsys/RegularExpression.cxx
@@ -348,7 +348,7 @@ static int strcspn ();
bool RegularExpression::compile (const char* exp) {
register const char* scan;
register const char* longest;
- register unsigned long len;
+ register size_t len;
int flags;
if (exp == 0) {