diff options
author | Subv <subv2112@gmail.com> | 2015-01-10 15:55:52 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2015-01-10 15:55:52 -0500 |
commit | 115a4bfc9e1fd3cfadb0d220bd65471319def560 (patch) | |
tree | 5cc828904507851d13079d33f7ce5f93fff1e23f /src/citra_qt/debugger/graphics_framebuffer.cpp | |
parent | 1b01938767b6bb716bbfd7ecd0791badd2e2f983 (diff) |
citra-qt: Add explicit casts to prevent some warnings.
Diffstat (limited to 'src/citra_qt/debugger/graphics_framebuffer.cpp')
-rw-r--r-- | src/citra_qt/debugger/graphics_framebuffer.cpp | 4 |
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 9f31e1e9f7..a9423d6c73 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(); |