diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-05-02 22:47:49 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-05-02 22:47:49 (GMT) |
commit | 38c1ab5cb2734af95b5d640ed88f6bb2f1dd78bc (patch) | |
tree | 2890154d2630e2a405d9d25bfa4f78831f582597 /Source/CPack | |
parent | 12048d82769997724107d461e9b4f7d12cad41d1 (diff) | |
download | CMake-38c1ab5cb2734af95b5d640ed88f6bb2f1dd78bc.zip CMake-38c1ab5cb2734af95b5d640ed88f6bb2f1dd78bc.tar.gz CMake-38c1ab5cb2734af95b5d640ed88f6bb2f1dd78bc.tar.bz2 |
COMP: Fix cast to char*
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackTGZGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackTGZGenerator.cxx b/Source/CPack/cmCPackTGZGenerator.cxx index 3784a75..d4663db 100644 --- a/Source/CPack/cmCPackTGZGenerator.cxx +++ b/Source/CPack/cmCPackTGZGenerator.cxx @@ -162,7 +162,7 @@ ssize_t cmCPackTGZ_Data_Write(void *client_data, void *buff, size_t n) } else { - mydata->OutputStream->write(buff, n); + mydata->OutputStream->write(reinterpret_cast<char*>(buff), n); } return n; } |