From 2492b561385859b7ef76fe816a8dc845f0b9bd09 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Feb 2016 01:53:51 +0300 Subject: Fix some casts between signed and unsigned in some files. --- src/gui/widgets/button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/button.cpp') diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp index 533d30997..97291276b 100644 --- a/src/gui/widgets/button.cpp +++ b/src/gui/widgets/button.cpp @@ -425,7 +425,7 @@ void Button::loadImageSet(const std::string &imageName) return; mImages = new Image*[BUTTON_COUNT]; mImages[0] = nullptr; - for (int f = 0; f < BUTTON_COUNT; f ++) + for (size_t f = 0; f < BUTTON_COUNT; f ++) { Image *const img = mImageSet->get(f); if (img) -- cgit v1.2.3-70-g09d2