diff options
author | Aaron M. Ucko <ucko@debian.org> | 2012-11-07 18:46:04 -0500 |
---|---|---|
committer | Aaron M. Ucko <ucko@debian.org> | 2012-11-07 18:46:04 -0500 |
commit | f3358bb14bc1644f895e7f72344c29906c5ac6d1 (patch) | |
tree | 7a185491deb6f70c5851a22aa8a5d905092d40df /src/forms_timer.cxx | |
parent | 79f54a44748073e5e8294781a7ef325eada98bc5 (diff) |
Imported Upstream version 1.3.1
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 $". // |