Silence a few warnings.

This commit is contained in:
Rohit Nirmal 2015-01-30 19:20:34 +00:00
parent 28702cbfeb
commit 5ebf35db96
3 changed files with 5 additions and 5 deletions

View file

@ -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();