From 378441b559615cc96150e64137ae2ce02d23d2f2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 19 Sep 2013 20:59:49 +0300 Subject: fix some compilation issues in different platforms. --- src/gui/setup_video.cpp | 2 +- src/gui/widgets/setuptouchitem.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index b82b25f25..4c285a879 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -565,7 +565,7 @@ void Setup_Video::action(const gcn::ActionEvent &event) { const int val = test->getConfig().getValueInt("opengl", -1); if (val >= 0 && static_cast(val) - < sizeof(renderToIndex) / sizeof (int)) + < sizeof(renderToIndex) / sizeof(int)) { mOpenGLDropDown->setSelected(renderToIndex[val]); } diff --git a/src/gui/widgets/setuptouchitem.cpp b/src/gui/widgets/setuptouchitem.cpp index b62e1e550..d8d6eda9a 100644 --- a/src/gui/widgets/setuptouchitem.cpp +++ b/src/gui/widgets/setuptouchitem.cpp @@ -31,7 +31,7 @@ #include "debug.h" -static const class SortTouchActionFunctor final +static class SortTouchActionFunctor final { public: bool operator() (const SetupActionData *const data1, -- cgit v1.2.3-70-g09d2