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/models/modelistmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/models/modelistmodel.h') diff --git a/src/gui/models/modelistmodel.h b/src/gui/models/modelistmodel.h index 752bd7ea4..e74dcb69f 100644 --- a/src/gui/models/modelistmodel.h +++ b/src/gui/models/modelistmodel.h @@ -49,7 +49,7 @@ class ModeListModel final : public ListModel * Returns element from container. */ std::string getElementAt(int i) override final - { return mVideoModes[i]; } + { return mVideoModes[static_cast(i)]; } /** * Returns the index corresponding to the given video mode. -- cgit v1.2.3-60-g2f50