diff options
Diffstat (limited to 'src/forms_timer.cxx')
-rw-r--r-- | src/forms_timer.cxx | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/src/forms_timer.cxx b/src/forms_timer.cxx index 25f929d..6fad755 100644 --- a/src/forms_timer.cxx +++ b/src/forms_timer.cxx @@ -1,24 +1,15 @@ // -// "$Id: forms_timer.cxx 7903 2010-11-28 21:06:39Z matt $" +// "$Id: forms_timer.cxx 9325 2012-04-05 05:12:30Z fabien $" // // Forms timer object for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2010 by Bill Spitzak and others. // -// This library is free software; you can redistribute it and/or -// modify it under the terms of the GNU Library General Public -// License as published by the Free Software Foundation; either -// version 2 of the License, or (at your option) any later version. +// This library is free software. Distribution and use rights are outlined in +// the file "COPYING" which should have been included with this file. If this +// file is missing or damaged, see the license at: // -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Library General Public License for more details. -// -// You should have received a copy of the GNU Library General Public -// License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 -// USA. +// http://www.fltk.org/COPYING.php // // Please report all bugs and problems on the following page: // @@ -57,7 +48,7 @@ void fl_gettime(long* sec, long* usec) { # else struct timeb tp; ftime(&tp); - *sec = tp.time; + *sec = (long) tp.time; *usec = tp.millitm * 1000; # endif #else @@ -182,5 +173,5 @@ void Fl_Timer::suspended(char d) { } // -// End of "$Id: forms_timer.cxx 7903 2010-11-28 21:06:39Z matt $". +// End of "$Id: forms_timer.cxx 9325 2012-04-05 05:12:30Z fabien $". // |