From: Bruce Momjian Date: Tue, 27 Jun 2000 18:08:49 +0000 (+0000) Subject: Tamotsu Nakagawa has posted a fix for this to a local mail list in X-Git-Tag: REL9_0_0~22998 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b601c8d8828ee02ffb195dead82b233b9572fe32;p=pg-rex%2Fsyncrep.git Tamotsu Nakagawa has posted a fix for this to a local mail list in Japan. Can someone comment on this? According to him, with the patch now only the geometry test fails. Tatsuo Ishii --- diff --git a/src/backend/utils/adt/nabstime.c b/src/backend/utils/adt/nabstime.c index 5d07f27c57..9a666ebd70 100644 --- a/src/backend/utils/adt/nabstime.c +++ b/src/backend/utils/adt/nabstime.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.69 2000/06/09 01:11:08 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.70 2000/06/27 18:08:49 momjian Exp $ * * NOTES * @@ -215,8 +215,9 @@ GetCurrentTime(struct tm * tm) void -abstime2tm(AbsoluteTime time, int *tzp, struct tm * tm, char *tzn) +abstime2tm(AbsoluteTime _time, int *tzp, struct tm * tm, char *tzn) { + time_t time = (time_t) _time; #ifdef USE_POSIX_TIME struct tm *tx;