From 9ee02e0f013398536b61f08dd3ced4188cd559bb Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 25 Jul 2006 19:14:11 +0000 Subject: Fix compiler warning by adding a cast... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Help_View.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_Help_View.cxx') diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 1fa9488ae..76565dee6 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -3,7 +3,7 @@ // // Fl_Help_View widget routines. // -// Copyright 1997-2005 by Easy Software Products. +// Copyright 1997-2006 by Easy Software Products. // Image support donated by Matthias Melcher, Copyright 2000. // // This library is free software; you can redistribute it and/or @@ -198,9 +198,9 @@ void Fl_Help_View::hv_draw(const char *t, int x, int y) if (selected && current_view==this && current_pos=selection_first) { Fl_Color c = fl_color(); fl_color(hv_selection_color); - int w = fl_width(t); + int w = (int)fl_width(t); if (current_pos+(int)strlen(t)=x && mouse_x=y-fl_height()+fl_descent()&&mouse_y<=y+fl_descent()) { int f = current_pos; -- cgit v1.2.3