Fixed warning

This commit is contained in:
Daniel Wolf 2015-12-21 13:26:56 +01:00
parent 4baab9b207
commit e2840dba3f
1 changed files with 1 additions and 1 deletions

View File

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