summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-29 10:46:42 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-29 10:46:42 (GMT)
commit7b1e974b4bd7c17cd90a6d03bab0aaa079d78d29 (patch)
tree5a13c893ae4c43409c154849b032af689c71fe96 /Modules/timemodule.c
parent0e3da7ba50718820ac7b0e35be82a75334f48d0a (diff)
downloadcpython-7b1e974b4bd7c17cd90a6d03bab0aaa079d78d29.zip
cpython-7b1e974b4bd7c17cd90a6d03bab0aaa079d78d29.tar.gz
cpython-7b1e974b4bd7c17cd90a6d03bab0aaa079d78d29.tar.bz2
Makefile.pre.in: add $(OPT) to link command
audioop.c: fix for MPW config.c.in: save original argc/argv for Lance rotormodule.c: new coding conventions timemodule.c: add casts for Lance
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index d35eba8..8dc10cb 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -305,7 +305,7 @@ floattime()
#ifdef HAVE_FTIME
struct timeb t;
ftime(&t);
- return (double)t.time + t.millitm*0.001;
+ return (double)t.time + (double)t.millitm * (double)0.001;
#else /* !HAVE_FTIME */
time_t secs;
time(&secs);