From 3a0c70d82ea1dbe94c4a7ebd198e11b5f00ef2c2 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Mon, 15 Jan 2001 23:51:37 +0000 Subject: Added parenthesis to turn off gcc warning git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Fl.cxx b/src/Fl.cxx index 56f25894b..b0275a939 100644 --- a/src/Fl.cxx +++ b/src/Fl.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl.cxx,v 1.24.2.36 2000/12/21 18:15:14 easysw Exp $" +// "$Id: Fl.cxx,v 1.24.2.37 2001/01/15 23:51:37 spitzak Exp $" // // Main event handling code for the Fast Light Tool Kit (FLTK). // @@ -204,7 +204,7 @@ double Fl::wait(double time_to_wait) { if (first_timeout) { elapse_timeouts(); Timeout *t; - while (t = first_timeout) { + while ((t = first_timeout)) { if (t->time > 0) break; // The first timeout in the array has expired. // We must remove timeout from array before doing the callback: @@ -772,5 +772,5 @@ void Fl_Window::flush() { } // -// End of "$Id: Fl.cxx,v 1.24.2.36 2000/12/21 18:15:14 easysw Exp $". +// End of "$Id: Fl.cxx,v 1.24.2.37 2001/01/15 23:51:37 spitzak Exp $". // -- cgit v1.2.3