diff options
Diffstat (limited to 'src/gui/widgets/button.cpp')
-rw-r--r-- | src/gui/widgets/button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |