diff options
| author | Bruce Momjian | 2006-03-04 04:44:07 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2006-03-04 04:44:07 +0000 |
| commit | 3bce31f613d0b7e1f9542b19124335c6d3464121 (patch) | |
| tree | 8736cfcd6cd24abcaddd55b48e8bc3a693e19e96 /src/port | |
| parent | f1d7f80c1aae60ccfe0c3fbdc8ef74404da4d479 (diff) | |
> 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.
Kris Jurka
Diffstat (limited to 'src/port')
| -rw-r--r-- | src/port/gettimeofday.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/gettimeofday.c b/src/port/gettimeofday.c index 60c8e480d5c..83870884618 100644 --- a/src/port/gettimeofday.c +++ b/src/port/gettimeofday.c @@ -2,7 +2,7 @@ * gettimeofday.c * Win32 gettimeofday() replacement * - * $PostgreSQL: pgsql/src/port/gettimeofday.c,v 1.8 2006/03/03 23:59:14 momjian Exp $ + * $PostgreSQL: pgsql/src/port/gettimeofday.c,v 1.9 2006/03/04 04:44:07 momjian Exp $ * * Copyright (c) 2003 SRA, Inc. * Copyright (c) 2003 SKC, Inc. @@ -32,7 +32,7 @@ /* FILETIME of Jan 1 1970 00:00:00. */ -static const unsigned __int64 epoch = 116444736000000000LL; +static const unsigned __int64 epoch = UINT64CONST(116444736000000000); /* * timezone information is stored outside the kernel so tzp isn't used anymore. |
