From a74795bbb88ffee1cc35144466c161f2bf585e1f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 19 Nov 2002 16:37:36 +0000 Subject: 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 --- src/Fl_Counter.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_Counter.cxx') diff --git a/src/Fl_Counter.cxx b/src/Fl_Counter.cxx index 8185e74c4..038df36e3 100644 --- a/src/Fl_Counter.cxx +++ b/src/Fl_Counter.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Counter.cxx,v 1.8.2.3.2.10 2002/08/09 01:09:48 easysw Exp $" +// "$Id: Fl_Counter.cxx,v 1.8.2.3.2.11 2002/11/19 16:37:34 easysw Exp $" // // Counter widget for the Fast Light Tool Kit (FLTK). // @@ -137,7 +137,7 @@ int Fl_Counter::handle(int event) { i = calc_mouseobj(); if (i != mouseobj) { Fl::remove_timeout(repeat_callback, this); - mouseobj = i; + mouseobj = (short)i; if (i) Fl::add_timeout(INITIALREPEAT, repeat_callback, this); increment_cb(); redraw(); @@ -183,10 +183,10 @@ Fl_Counter::Fl_Counter(int X, int Y, int W, int H, const char* l) lstep_ = 1.0; mouseobj = 0; textfont_ = FL_HELVETICA; - textsize_ = FL_NORMAL_SIZE; + textsize_ = (uchar)FL_NORMAL_SIZE; textcolor_ = FL_FOREGROUND_COLOR; } // -// End of "$Id: Fl_Counter.cxx,v 1.8.2.3.2.10 2002/08/09 01:09:48 easysw Exp $". +// End of "$Id: Fl_Counter.cxx,v 1.8.2.3.2.11 2002/11/19 16:37:34 easysw Exp $". // -- cgit v1.2.3