diff options
| author | Bill Spitzak <spitzak@gmail.com> | 2001-01-15 23:51:37 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 2001-01-15 23:51:37 +0000 |
| commit | 3a0c70d82ea1dbe94c4a7ebd198e11b5f00ef2c2 (patch) | |
| tree | fde82b4945209a47173d378caaa3bedd75ab1b51 /src | |
| parent | 421fd3985fa044d05ba50c33307bcaae2a18f5fc (diff) | |
Added parenthesis to turn off gcc warning
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1353 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 $". // |
