diff options
Diffstat (limited to 'Source/CPack/cmCPackTGZGenerator.cxx')
-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; } |