From 69c9b302a9f39ad056f3eff4fcf5d57fae50529b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 15 Jan 2015 20:28:38 +0100 Subject: [PATCH] CScreenSaver: fix wconversion warnings Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/016fc14177e1d7065a0be61c981742a16497ca41 Author: Thilo Graf Date: 2015-01-15 (Thu, 15 Jan 2015) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/screensaver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/screensaver.cpp b/src/gui/screensaver.cpp index c21b76ff0..6106912e6 100644 --- a/src/gui/screensaver.cpp +++ b/src/gui/screensaver.cpp @@ -87,9 +87,9 @@ void CScreenSaver::Start() m_viewer->SetVisible(g_settings.screen_StartX, g_settings.screen_EndX, g_settings.screen_StartY, g_settings.screen_EndY); if (g_settings.video_Format == 3) - m_viewer->SetAspectRatio(16.0/9); + m_viewer->SetAspectRatio(float(16.0/9)); else - m_viewer->SetAspectRatio(4.0/3); + m_viewer->SetAspectRatio(float(4.0/3)); m_viewer->Cleanup();