pgsql: This patch fixes this warning.
pgsql: This patch fixes this warning.
От:
momjian@postgresql.org (Bruce Momjian)
Дата:
Log Message:
-----------
This patch fixes this warning.
gettimeofday.c:35: warning: integer constant is too large for "long"
type
Kris Jurka
Modified Files:
--------------
pgsql/src/port:
gettimeofday.c (r1.7 -> r1.8)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/port/gettimeofday.c.diff?r1=1.7&r2=1.8)
Re: pgsql: This patch fixes this warning.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
momjian@postgresql.org (Bruce Momjian) writes: > Log Message: > ----------- > This patch fixes this warning. > gettimeofday.c:35: warning: integer constant is too large for "long" > type Wouldn't it be better to use the UINT64CONST macro? I realize this file is Windows-only, but we do worry about more than one compiler on that platform. regards, tom lane