Fixed warning

This commit is contained in:
Daniel Wolf
2015-12-21 13:26:56 +01:00
parent 4baab9b207
commit e2840dba3f

View File

@@ -1,7 +1,7 @@
#include "Shape.h"
std::string shapeToString(Shape shape) {
char c = 'A' + static_cast<int>(shape);
char c = 'A' + static_cast<char>(shape);
return std::string(&c, 1);
}