diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-30 18:49:56 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-30 18:49:56 (GMT) |
commit | 5a2668b326471874ca69357af831cdcf1575c621 (patch) | |
tree | 92f40c9de267766f0533df44212ec2df6415aa47 /Source/cmCommandArgumentParserHelper.cxx | |
parent | 08b14163ee2cc9cced08d80b2c81b29c83072229 (diff) | |
download | CMake-5a2668b326471874ca69357af831cdcf1575c621.zip CMake-5a2668b326471874ca69357af831cdcf1575c621.tar.gz CMake-5a2668b326471874ca69357af831cdcf1575c621.tar.bz2 |
ENH: add support for win64 for visual studio 2005 ide and nmake, also fix warnings produced by building for win64
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.cxx')
-rw-r--r-- | Source/cmCommandArgumentParserHelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx index 31c4bc0..f24cab6 100644 --- a/Source/cmCommandArgumentParserHelper.cxx +++ b/Source/cmCommandArgumentParserHelper.cxx @@ -119,7 +119,7 @@ char* cmCommandArgumentParserHelper::CombineUnions(char* in1, char* in2) { return in1; } - int len = strlen(in1) + strlen(in2) + 1; + size_t len = strlen(in1) + strlen(in2) + 1; char* out = new char [ len ]; strcpy(out, in1); strcat(out, in2); @@ -133,7 +133,7 @@ void cmCommandArgumentParserHelper::AllocateParserType(cmCommandArgumentParserHe pt->str = 0; if ( len == 0 ) { - len = strlen(str); + len = (int)strlen(str); } if ( len == 0 ) { |