From 115a4bfc9e1fd3cfadb0d220bd65471319def560 Mon Sep 17 00:00:00 2001 From: Subv Date: Sat, 10 Jan 2015 15:55:52 -0500 Subject: citra-qt: Add explicit casts to prevent some warnings. --- src/citra_qt/debugger/graphics_framebuffer.cpp | 4 ++-- 1 file 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(new_value)) { + framebuffer_width = static_cast(new_value); framebuffer_source_list->setCurrentIndex(static_cast(Source::Custom)); emit Update(); -- cgit v1.2.3