]> git.mxchange.org Git - simgear.git/blobdiff - PUI/puFrame.cxx
More portability changes to help with windoze compilation problems.
[simgear.git] / PUI / puFrame.cxx
index 4aaf831f12e97d18261659206025334ab278668d..8c57aa453000e3bfa837a5bed72eb133932b54e6 100644 (file)
@@ -16,7 +16,7 @@ void puFrame::draw ( int dx, int dy )
     glColor4f ( colour [ PUCOL_LEGEND ][0],
                 colour [ PUCOL_LEGEND ][1],
                 colour [ PUCOL_LEGEND ][2],
-                colour [ PUCOL_LEGEND ][3] / 2.0 ) ; /* 50% more transparent */
+                colour [ PUCOL_LEGEND ][3] / 2.0f ) ; /* 50% more transparent */
 
   int xx = ( abox.max[0] - abox.min[0] - puGetStringWidth ( legendFont, legend ) ) / 2 ;