This patch fixes this warning.

gettimeofday.c:35: warning: integer constant is too large for "long" type

Kris Jurka
Index: src/port/gettimeofday.c

===================================================================

RCS file: /projects/cvsroot/pgsql/src/port/gettimeofday.c,v

retrieving revision 1.7

diff -c -r1.7 gettimeofday.c

*** src/port/gettimeofday.c     16 Dec 2005 21:55:27 -0000      1.7

--- src/port/gettimeofday.c     16 Feb 2006 02:17:23 -0000

***************

*** 32,38 ****

  

  

  /* FILETIME of Jan 1 1970 00:00:00. */

! static const unsigned __int64 epoch = 116444736000000000L;

  

  /*

   * timezone information is stored outside the kernel so tzp isn't used 
anymore.

--- 32,38 ----

  

  

  /* FILETIME of Jan 1 1970 00:00:00. */

! static const unsigned __int64 epoch = 116444736000000000LL;

  

  /*

   * timezone information is stored outside the kernel so tzp isn't used 
anymore.

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to