From c9cce7f30767dfca821b4d48943dec50f1f72af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 15 Mar 2022 22:54:43 +0100 Subject: [PATCH] MeshIndexType and MeshPrimitive is 32-bit, verify it's printed as such. --- src/Magnum/Test/MeshTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Magnum/Test/MeshTest.cpp b/src/Magnum/Test/MeshTest.cpp index 8c36a272c..43b5524f9 100644 --- a/src/Magnum/Test/MeshTest.cpp +++ b/src/Magnum/Test/MeshTest.cpp @@ -284,8 +284,8 @@ void MeshTest::indexTypeSizeImplementationSpecific() { void MeshTest::debugPrimitive() { std::ostringstream o; - Debug(&o) << MeshPrimitive::TriangleFan << MeshPrimitive(0xfe); - CORRADE_COMPARE(o.str(), "MeshPrimitive::TriangleFan MeshPrimitive(0xfe)\n"); + Debug(&o) << MeshPrimitive::TriangleFan << MeshPrimitive(0x70fe); + CORRADE_COMPARE(o.str(), "MeshPrimitive::TriangleFan MeshPrimitive(0x70fe)\n"); } void MeshTest::debugPrimitiveImplementationSpecific() { @@ -297,7 +297,7 @@ void MeshTest::debugPrimitiveImplementationSpecific() { void MeshTest::debugIndexType() { std::ostringstream o; - Debug(&o) << MeshIndexType::UnsignedShort << MeshIndexType(0xfe); + Debug(&o) << MeshIndexType::UnsignedShort << MeshIndexType(0x70fe); CORRADE_COMPARE(o.str(), "MeshIndexType::UnsignedShort MeshIndexType(0xfe)\n"); }