diff options
| author | Max Brazhnikov <makc@FreeBSD.org> | 2010-07-24 08:03:40 +0000 |
|---|---|---|
| committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-07-24 08:03:40 +0000 |
| commit | 625b28e732756c56ee7d0ac1bc56f5fb84cd4c55 (patch) | |
| tree | e21c8fec6856d5f24ba82182936324f399f9f03d /math/lp_solve/files/patch-shared+commonlib.c | |
| parent | Update to 2.8.2 (diff) | |
Fix the fix.
PR: ports/148407
Submitted by: Mayo Jordanov (maintainer)
Notes
Notes:
svn path=/head/; revision=258131
Diffstat (limited to 'math/lp_solve/files/patch-shared+commonlib.c')
| -rw-r--r-- | math/lp_solve/files/patch-shared+commonlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/lp_solve/files/patch-shared+commonlib.c b/math/lp_solve/files/patch-shared+commonlib.c index 978f0e153e73..bb4f7edd88a2 100644 --- a/math/lp_solve/files/patch-shared+commonlib.c +++ b/math/lp_solve/files/patch-shared+commonlib.c @@ -18,7 +18,7 @@ + struct timezone tz; + + gettimeofday(&tv, &tz); -+ return((double)tv.tv_sec+((double)tv.tv_usec)/1000.0); ++ return((double)tv.tv_sec+((double)tv.tv_usec)/1000000.0); - ftime(&buf); - return((double)buf.time+((double) buf.millitm)/1000.0); |
