diff options
author | Bill Lorensen <lorensen@crd.ge.com> | 2003-06-25 01:37:02 (GMT) |
---|---|---|
committer | Bill Lorensen <lorensen@crd.ge.com> | 2003-06-25 01:37:02 (GMT) |
commit | 78ecb7f33fbb991884cbbd9a9e9c7e9b075a0386 (patch) | |
tree | e9ad69471e2fb0bb9c40e1ac4c04b6ab49abf8c5 /Source/kwsys/SystemTools.cxx | |
parent | 7f34d64b0ab321e03e56269476e7fd962836e2b3 (diff) | |
download | CMake-78ecb7f33fbb991884cbbd9a9e9c7e9b075a0386.zip CMake-78ecb7f33fbb991884cbbd9a9e9c7e9b075a0386.tar.gz CMake-78ecb7f33fbb991884cbbd9a9e9c7e9b075a0386.tar.bz2 |
ERR: portability.
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 6b1327c..a2df6e8 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -253,7 +253,7 @@ void SystemTools::ReplaceString(kwsys_std::string& source, const char* with) { const char *src = source.c_str(); - char *searchPos = strstr(src,replace); + char *searchPos = const_cast<char *>(strstr(src,replace)); // get out quick if string is not found if (!searchPos) |