summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2006-03-03 23:59:14 +0000
committerBruce Momjian2006-03-03 23:59:14 +0000
commite9b2057c67d06c63bda26360900f84bb441b4a93 (patch)
tree67d268cfa16359af018306c86fa7013bf08638c8
parent75e721cd658e6286b17b450fc5fe00d836ca18cf (diff)
This patch fixes this warning.
gettimeofday.c:35: warning: integer constant is too large for "long" type Kris Jurka
-rw-r--r--src/port/gettimeofday.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/gettimeofday.c b/src/port/gettimeofday.c
index fbf19cf235..3073b061cd 100644
--- a/src/port/gettimeofday.c
+++ b/src/port/gettimeofday.c
@@ -32,7 +32,7 @@
/* FILETIME of Jan 1 1970 00:00:00. */
-static const unsigned __int64 epoch = 116444736000000000L;
+static const unsigned __int64 epoch = 116444736000000000LL;
/*
* timezone information is stored outside the kernel so tzp isn't used anymore.