summaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-05-31 18:53:18 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-05-31 18:53:18 +0000
commita843053e2e596da640d2afc73eeaa1f9273fff38 (patch)
tree61c2eccd463a1bee72cc93c1308ee9fbf50471e2 /src/interfaces
parent8b1ae8fa3f6bac3ae02e4b445db88489835c626d (diff)
Suppress compile warnings on machines where the INT64CONST() decoration
is actually needed. Per Oliver Elphick.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/ecpg/pgtypeslib/dt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/dt_common.c b/src/interfaces/ecpg/pgtypeslib/dt_common.c
index eaa0538f553..f906b449b08 100644
--- a/src/interfaces/ecpg/pgtypeslib/dt_common.c
+++ b/src/interfaces/ecpg/pgtypeslib/dt_common.c
@@ -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