1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-21 10:42:50 +03:00

Suppress compile warnings on machines where the INT64CONST() decoration

is actually needed.  Per Oliver Elphick.
This commit is contained in:
Tom Lane
2004-05-31 18:53:18 +00:00
parent 8b1ae8fa3f
commit a843053e2e
3 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/date.c,v 1.97 2004/05/21 05:08:01 tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/date.c,v 1.98 2004/05/31 18:53:17 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1461,7 +1461,7 @@ interval_time(PG_FUNCTION_ARGS)
}
else if (result < 0)
{
days = (-result + INT64CONST(86400000000 - 1)) / INT64CONST(86400000000);
days = (-result + INT64CONST(86400000000) - 1) / INT64CONST(86400000000);
result += days * INT64CONST(86400000000);
}
#else