From fd9081c80ea237acd18fa2d9f0f33193dc20e5a8 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Mon, 11 Dec 2017 20:21:41 -0600 Subject: [PATCH] minor --- src/misc/typeCast.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/typeCast.cpp b/src/misc/typeCast.cpp index f251b04..5043178 100644 --- a/src/misc/typeCast.cpp +++ b/src/misc/typeCast.cpp @@ -55,7 +55,7 @@ template static void copyV(size_t count, void *draw, const void *sraw) { T *dest=(T*)draw; - const T *src=(T*)sraw; + const T *src=(const T*)sraw; std::copy(src, src+count, dest); }