summaryrefslogtreecommitdiffstats
path: root/src/citra_qt
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-01-10 21:55:52 +0100
committerSubv <subv2112@gmail.com>2015-01-10 21:55:52 +0100
commit115a4bfc9e1fd3cfadb0d220bd65471319def560 (patch)
tree5cc828904507851d13079d33f7ce5f93fff1e23f /src/citra_qt
parentcitra-qt: Fixed some Qt errors on initialization (diff)
downloadyuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar
yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar.gz
yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar.bz2
yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar.lz
yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar.xz
yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.tar.zst
yuzu-115a4bfc9e1fd3cfadb0d220bd65471319def560.zip
Diffstat (limited to 'src/citra_qt')
-rw-r--r--src/citra_qt/debugger/graphics_framebuffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics_framebuffer.cpp b/src/citra_qt/debugger/graphics_framebuffer.cpp
index 9f31e1e9f..a9423d6c7 100644
--- a/src/citra_qt/debugger/graphics_framebuffer.cpp
+++ b/src/citra_qt/debugger/graphics_framebuffer.cpp
@@ -160,8 +160,8 @@ void GraphicsFramebufferWidget::OnFramebufferAddressChanged(qint64 new_value)
void GraphicsFramebufferWidget::OnFramebufferWidthChanged(int new_value)
{
- if (framebuffer_width != new_value) {
- framebuffer_width = new_value;
+ if (framebuffer_width != static_cast<unsigned>(new_value)) {
+ framebuffer_width = static_cast<unsigned>(new_value);
framebuffer_source_list->setCurrentIndex(static_cast<int>(Source::Custom));
emit Update();