From f215b206b1c9a6c5c071fee23aa45c2eed144da0 Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Mon, 9 Jul 2012 10:38:03 -0300 Subject: [PATCH] Fix issue #25 --- src/framework/util/color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/framework/util/color.h b/src/framework/util/color.h index c07fecb2..c13946b3 100644 --- a/src/framework/util/color.h +++ b/src/framework/util/color.h @@ -134,7 +134,7 @@ inline std::istream& operator>>(std::istream& in, Color& color) else color.setAlpha(255); } else - in.seekg(-tmp.length()-1, ios_base::cur); + in.seekg(-(std::istream::streampos)tmp.length()-1, ios_base::cur); } else { in.unget(); in >> tmp;