From d8648c8b72f03983c0e73dcc5a7fe2f1f71a1dbb Mon Sep 17 00:00:00 2001 From: Denis Feklushkin Date: Thu, 17 Sep 2015 02:46:35 +0700 Subject: [PATCH] fix building on new compilers --- source/pgator/db/pq/types/time.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/pgator/db/pq/types/time.d b/source/pgator/db/pq/types/time.d index f5e2a52..c69a0e9 100644 --- a/source/pgator/db/pq/types/time.d +++ b/source/pgator/db/pq/types/time.d @@ -135,7 +135,7 @@ version(Have_Int64_TimeStamp) void TMODULO(ref long t, ref long q, double u) { q = cast(long)(t / u); - if (q != 0) t -= q * u; + if (q != 0) t -= q * cast(long)u; } } else