Fix #507 clang compilation error in layer_io.cpp

This commit is contained in:
David Capello 2014-10-22 10:53:22 -03:00
parent 8f6cf34a78
commit adaab1af98

View File

@ -90,7 +90,7 @@ Layer* read_layer(std::istream& is, LayerSubObjectsSerializer* subObjects, Sprit
base::UniquePtr<Layer> layer;
switch (layer_type) {
switch (static_cast<ObjectType>(layer_type)) {
case ObjectType::LayerImage: {
// Create layer