Commit 00371678 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

COMP: Remove sun warning

parent 8ff49194
......@@ -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
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment