1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-25 20:23:07 +03:00

Suppress compile warnings on machines where the INT64CONST() decoration

is actually needed.  Backport of Oliver Elphick's recent patch.
This commit is contained in:
Tom Lane
2004-06-13 17:17:49 +00:00
parent 2e11ef8be8
commit da736b79e7
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