summaryrefslogtreecommitdiff
path: root/src/fl_symbols.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-11-19 16:37:36 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-11-19 16:37:36 +0000
commita74795bbb88ffee1cc35144466c161f2bf585e1f (patch)
tree0f0bc7d27e310d4970ba963c622c4fa91aa6eef2 /src/fl_symbols.cxx
parent2921ca57a03c93d10e8791830256d8baf73e523f (diff)
Get rid of some valid compiler warnings with CodeWarrior that were reported
by Paul Chambers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_symbols.cxx')
-rw-r--r--src/fl_symbols.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_symbols.cxx b/src/fl_symbols.cxx
index 382afca6e..e93cf06a3 100644
--- a/src/fl_symbols.cxx
+++ b/src/fl_symbols.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: fl_symbols.cxx,v 1.8.2.3.2.3 2002/04/11 11:52:43 easysw Exp $"
+// "$Id: fl_symbols.cxx,v 1.8.2.3.2.4 2002/11/19 16:37:36 easysw Exp $"
//
// Symbol drawing code for the Fast Light Tool Kit (FLTK).
//
@@ -159,7 +159,7 @@ int fl_draw_symbol(const char *label,int x,int y,int w,int h,Fl_Color col) {
//for the outline color
static void set_outline_color(Fl_Color c) {
- fl_color(fl_color_average(c, FL_BLACK, .5));
+ fl_color(fl_color_average(c, FL_BLACK, 0.5f));
}
static void rectangle(double x,double y,double x2,double y2,Fl_Color col) {
@@ -361,5 +361,5 @@ static void fl_init_symbols(void) {
}
//
-// End of "$Id: fl_symbols.cxx,v 1.8.2.3.2.3 2002/04/11 11:52:43 easysw Exp $".
+// End of "$Id: fl_symbols.cxx,v 1.8.2.3.2.4 2002/11/19 16:37:36 easysw Exp $".
//