diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-30 20:32:20 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-12-30 20:32:20 (GMT) |
commit | 00371678d3f1fb4185fc804fc9323ae43ccfc56b (patch) | |
tree | b543fdb1e704a0469bc16495adfd21760741587f /Source | |
parent | 8ff49194435b19ca56e8be286899a8d6cd65a4c6 (diff) | |
download | CMake-00371678d3f1fb4185fc804fc9323ae43ccfc56b.zip CMake-00371678d3f1fb4185fc804fc9323ae43ccfc56b.tar.gz CMake-00371678d3f1fb4185fc804fc9323ae43ccfc56b.tar.bz2 |
COMP: Remove sun warning
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmSystemTools.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 8e40d8e..5e6b854 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -1378,7 +1378,7 @@ struct cmSystemToolsGZStruct int cmSystemToolsGZStruct::Open(void* call_data, const char *pathname, int oflags, mode_t mode) { - char *gzoflags; + const char *gzoflags; int fd; cmSystemToolsGZStruct* gzf = static_cast<cmSystemToolsGZStruct*>(call_data); @@ -1449,10 +1449,10 @@ bool cmSystemTools::CreateTar(const char* outFileName, const std::vector<cmStdSt cmSystemToolsGZStruct gzs; tartype_t gztype = { - cmSystemToolsGZStruct::Open, - cmSystemToolsGZStruct::Close, - cmSystemToolsGZStruct::Read, - cmSystemToolsGZStruct::Write, + (openfunc_t)cmSystemToolsGZStruct::Open, + (closefunc_t)cmSystemToolsGZStruct::Close, + (readfunc_t)cmSystemToolsGZStruct::Read, + (writefunc_t)cmSystemToolsGZStruct::Write, &gzs }; |