From 0178aa9a113dc224820fd638dc353dfe5ea6bee2 Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 12 Jan 2015 21:56:35 +0000 Subject: py, unix: Allow to compile with -Wdouble-promotion. Ref issue #699. --- unix/modtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unix') diff --git a/unix/modtime.c b/unix/modtime.c index 2efb7fab3..61b5e0dd5 100644 --- a/unix/modtime.c +++ b/unix/modtime.c @@ -52,7 +52,7 @@ void msec_sleep_tv(struct timeval *tv) { #endif #if defined(MP_CLOCKS_PER_SEC) -#define CLOCK_DIV (MP_CLOCKS_PER_SEC / 1000.0) +#define CLOCK_DIV (MP_CLOCKS_PER_SEC / 1000.0F) #else #error Unsupported clock() implementation #endif -- cgit v1.2.3