From 00920ffddc28d69aea68b066852d0b02a57c9f48 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Sun, 28 Jun 2009 19:20:46 +0000
Subject: [PATCH] fix warning

---
 Graphics/drawContext.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Graphics/drawContext.cpp b/Graphics/drawContext.cpp
index 879edf6b27..850039c867 100644
--- a/Graphics/drawContext.cpp
+++ b/Graphics/drawContext.cpp
@@ -422,7 +422,7 @@ void drawContext::initProjection(int xpick, int ypick, int wpick, int hpick)
           Msg::Error("Could not load valid background image");
           // make sure we don't try to load it again
           for(int i = 0; i < 3; i++) _bgImage.push_back(0);
-          _bgImageSize[0] = _bgImageSize[1] = 1.;
+          _bgImageSize[0] = _bgImageSize[1] = 1;
         }
         if(img) delete img;
       }
-- 
GitLab