From adaab1af98f8fee16a3840b3a1d2181cb2967220 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 22 Oct 2014 10:53:22 -0300 Subject: [PATCH] Fix #507 clang compilation error in layer_io.cpp --- src/doc/layer_io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/layer_io.cpp b/src/doc/layer_io.cpp index 487d9cefb..ae7134dc2 100644 --- a/src/doc/layer_io.cpp +++ b/src/doc/layer_io.cpp @@ -90,7 +90,7 @@ Layer* read_layer(std::istream& is, LayerSubObjectsSerializer* subObjects, Sprit base::UniquePtr layer; - switch (layer_type) { + switch (static_cast(layer_type)) { case ObjectType::LayerImage: { // Create layer