Skip to content

Commit 295615a

Browse files
committed
This patch fixes this warning.
gettimeofday.c:35: warning: integer constant is too large for "long" type Kris Jurka
1 parent ef3f7c3 commit 295615a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/port/gettimeofday.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* gettimeofday.c
33
* Win32 gettimeofday() replacement
44
*
5-
* $PostgreSQL: pgsql/src/port/gettimeofday.c,v 1.7 2005/12/16 21:55:27 alvherre Exp $
5+
* $PostgreSQL: pgsql/src/port/gettimeofday.c,v 1.8 2006/03/03 23:59:14 momjian Exp $
66
*
77
* Copyright (c) 2003 SRA, Inc.
88
* Copyright (c) 2003 SKC, Inc.
@@ -32,7 +32,7 @@
3232

3333

3434
/* FILETIME of Jan 1 1970 00:00:00. */
35-
static const unsigned __int64 epoch = 116444736000000000L;
35+
static const unsigned __int64 epoch = 116444736000000000LL;
3636

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy