1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-21 00:42:43 +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

@@ -2255,7 +2255,7 @@ DecodeDateTime(char **field, int *ftype, int nf,
tmask |= DTK_TIME_M;
#ifdef HAVE_INT64_TIMESTAMP
dt2time((time * 86400000000), &tm->tm_hour, &tm->tm_min, &tm->tm_sec, fsec);
dt2time((time * INT64CONST(86400000000)), &tm->tm_hour, &tm->tm_min, &tm->tm_sec, fsec);
#else
dt2time((time * 86400), &tm->tm_hour, &tm->tm_min, &tm->tm_sec, fsec);
#endif