From e2840dba3ff7979241f27c1919ebb481051b0eef Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Mon, 21 Dec 2015 13:26:56 +0100 Subject: [PATCH] Fixed warning --- src/Shape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Shape.cpp b/src/Shape.cpp index ed4f85b..0c6a51f 100644 --- a/src/Shape.cpp +++ b/src/Shape.cpp @@ -1,7 +1,7 @@ #include "Shape.h" std::string shapeToString(Shape shape) { - char c = 'A' + static_cast(shape); + char c = 'A' + static_cast(shape); return std::string(&c, 1); }