2003-01-21 Anita Kulkarni <anitak@kpit.com>
* libc/time/difftime.c : Typecast the result to double.
This commit is contained in:
parent
57394495e2
commit
b8838e6f75
|
@ -1,3 +1,7 @@
|
||||||
|
2003-01-21 Anita Kulkarni <anitak@kpit.com>
|
||||||
|
|
||||||
|
* libc/time/difftime.c : Typecast the result to double.
|
||||||
|
|
||||||
2003-01-20 Christopher Faylor <cgf@redhat.com>
|
2003-01-20 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
|
* libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
|
||||||
|
|
|
@ -40,5 +40,5 @@ _DEFUN (difftime, (tim1, tim2),
|
||||||
time_t tim1 _AND
|
time_t tim1 _AND
|
||||||
time_t tim2)
|
time_t tim2)
|
||||||
{
|
{
|
||||||
return ((double) tim1 - tim2);
|
return (double)(tim1 - tim2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue