From 36b52ad0e82627e7946e057b98fc32732379036e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 11 May 2015 22:56:34 +0200 Subject: [PATCH] Test cleanup. --- src/Magnum/Test/BufferGLTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/Test/BufferGLTest.cpp b/src/Magnum/Test/BufferGLTest.cpp index 7b7d9a8e2..8599aafe5 100644 --- a/src/Magnum/Test/BufferGLTest.cpp +++ b/src/Magnum/Test/BufferGLTest.cpp @@ -298,7 +298,7 @@ void BufferGLTest::mapSub() { constexpr char data[] = {2, 7, 5, 13, 25}; buffer.setData(data, BufferUsage::StaticDraw); - char* contents = reinterpret_cast(buffer.mapSub(1, 4, Buffer::MapAccess::WriteOnly)); + char* contents = buffer.mapSub(1, 4, Buffer::MapAccess::WriteOnly); MAGNUM_VERIFY_NO_ERROR(); CORRADE_VERIFY(contents);