summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/graphics_framebuffer.cpp
diff options
context:
space:
mode:
authorRohit Nirmal <rohitnirmal9@gmail.com>2015-01-30 20:20:34 +0100
committerRohit Nirmal <rohitnirmal9@gmail.com>2015-01-30 20:20:34 +0100
commit5ebf35db9601b12c7142641cc5635da32537171b (patch)
treee60f7703e567a79cd928b4b6aa2800f5221bd248 /src/citra_qt/debugger/graphics_framebuffer.cpp
parentMerge pull request #503 from yuriks/kernel-lifetime4 (diff)
downloadyuzu-5ebf35db9601b12c7142641cc5635da32537171b.tar
yuzu-5ebf35db9601b12c7142641cc5635da32537171b.tar.gz
yuzu-5ebf35db9601b12c7142641cc5635da32537171b.tar.bz2
yuzu-5ebf35db9601b12c7142641cc5635da32537171b.tar.lz
yuzu-5ebf35db9601b12c7142641cc5635da32537171b.tar.xz
yuzu-5ebf35db9601b12c7142641cc5635da32537171b.tar.zst
yuzu-5ebf35db9601b12c7142641cc5635da32537171b.zip
Diffstat (limited to '')
-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 a9423d6c7..43c59738f 100644
--- a/src/citra_qt/debugger/graphics_framebuffer.cpp
+++ b/src/citra_qt/debugger/graphics_framebuffer.cpp
@@ -170,8 +170,8 @@ void GraphicsFramebufferWidget::OnFramebufferWidthChanged(int new_value)
void GraphicsFramebufferWidget::OnFramebufferHeightChanged(int new_value)
{
- if (framebuffer_height != new_value) {
- framebuffer_height = new_value;
+ if (framebuffer_height != static_cast<unsigned>(new_value)) {
+ framebuffer_height = static_cast<unsigned>(new_value);
framebuffer_source_list->setCurrentIndex(static_cast<int>(Source::Custom));
emit Update();