aboutsummaryrefslogtreecommitdiffstats
path: root/src/data_snk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/data_snk.cpp')
-rw-r--r--src/data_snk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data_snk.cpp b/src/data_snk.cpp
index 7f2080723..a76fbfa09 100644
--- a/src/data_snk.cpp
+++ b/src/data_snk.cpp
@@ -13,7 +13,7 @@ namespace Botan {
*************************************************/
void DataSink_Stream::write(const byte out[], u32bit length)
{
- sink->write((const char*)out, length);
+ sink->write(reinterpret_cast<const char*>(out), length);
if(!sink->good())
throw Stream_IO_Error("DataSink_Stream: Failure writing to " + fsname);
}