diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-13 15:25:11 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-13 15:25:11 (GMT) |
commit | 809b32fe59ee9923eebbcfc373d9eaab158083e9 (patch) | |
tree | cbb36213252d97bf3f7d21b301b4f65aa7a5342c /Source/cmaketest.cxx | |
parent | 83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff) | |
download | CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.zip CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.bz2 |
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmaketest.cxx')
-rw-r--r-- | Source/cmaketest.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmaketest.cxx b/Source/cmaketest.cxx index 0a6a8bf..1645b7c 100644 --- a/Source/cmaketest.cxx +++ b/Source/cmaketest.cxx @@ -142,7 +142,7 @@ int main (int argc, char *argv[]) { char *buffer = new char[makeCommand.size()+1]; if(GetShortPathName(makeCommand.c_str(), buffer, - makeCommand.size()+1) != 0) + int(makeCommand.size()+1)) != 0) { makeCommand = buffer; } @@ -161,7 +161,7 @@ int main (int argc, char *argv[]) { char *buffer = new char[makeCommand.size()+1]; if(GetShortPathName(makeCommand.c_str(), buffer, - makeCommand.size()+1) != 0) + int(makeCommand.size()+1)) != 0) { makeCommand = buffer; } |