diff Core/HttpServer/StringHttpOutput.cpp @ 3402:cf31b5bacce3

removing unneeded casts
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Jun 2019 15:06:17 +0200
parents 4e43e67f8ecf
children 94f4a18a79cc
line wrap: on
line diff
--- a/Core/HttpServer/StringHttpOutput.cpp	Fri Jun 07 14:58:27 2019 +0200
+++ b/Core/HttpServer/StringHttpOutput.cpp	Fri Jun 07 15:06:17 2019 +0200
@@ -59,7 +59,7 @@
   {
     if (!isHeader)
     {
-      buffer_.AddChunk(reinterpret_cast<const char*>(buffer), length);
+      buffer_.AddChunk(buffer, length);
     }
   }