constant too large in port/gettimeofday

Started by Kris Jurkaover 20 years ago5 messagespatches
Jump to latest
#1Kris Jurka
books@ejurka.com

This patch fixes this warning.

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

Kris Jurka

Attachments:

gettimeofday-constant.patchtext/plain; charset=US-ASCII; name=gettimeofday-constant.patchDownload+2-2
#2Bruce Momjian
bruce@momjian.us
In reply to: Kris Jurka (#1)
Re: constant too large in port/gettimeofday

Your patch has been added to the PostgreSQL unapplied patches list at:

http://momjian.postgresql.org/cgi-bin/pgpatches

It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.

---------------------------------------------------------------------------

Kris Jurka wrote:

This patch fixes this warning.

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

Kris Jurka

Content-Description:

[ Attachment, skipping... ]

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

http://archives.postgresql.org

--
Bruce Momjian http://candle.pha.pa.us
SRA OSS, Inc. http://www.sraoss.com

+ If your life is a hard drive, Christ can be your backup. +

#3Bruce Momjian
bruce@momjian.us
In reply to: Kris Jurka (#1)
Re: constant too large in port/gettimeofday

Patch applied. Thanks.

I am a little worried that some of our platforms do not support LL
designations, so I applied it only to CVS HEAD.

---------------------------------------------------------------------------

Kris Jurka wrote:

This patch fixes this warning.

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

Kris Jurka

Content-Description:

[ Attachment, skipping... ]

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

http://archives.postgresql.org

--
Bruce Momjian http://candle.pha.pa.us
SRA OSS, Inc. http://www.sraoss.com

+ If your life is a hard drive, Christ can be your backup. +

#4Kris Jurka
books@ejurka.com
In reply to: Bruce Momjian (#3)
Re: constant too large in port/gettimeofday

On Fri, 3 Mar 2006, Bruce Momjian wrote:

I am a little worried that some of our platforms do not support LL
designations, so I applied it only to CVS HEAD.

Yes, this one is probably better.

Kris Jurka

Attachments:

LLusage.patchtext/plain; charset=US-ASCII; name=LLusage.patchDownload+8-8
#5Bruce Momjian
bruce@momjian.us
In reply to: Kris Jurka (#4)
Re: constant too large in port/gettimeofday

Patch applied. Thanks.

---------------------------------------------------------------------------

Kris Jurka wrote:

On Fri, 3 Mar 2006, Bruce Momjian wrote:

I am a little worried that some of our platforms do not support LL
designations, so I applied it only to CVS HEAD.

Yes, this one is probably better.

Kris Jurka

Content-Description:

[ Attachment, skipping... ]

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

http://archives.postgresql.org

--
Bruce Momjian http://candle.pha.pa.us
SRA OSS, Inc. http://www.sraoss.com

+ If your life is a hard drive, Christ can be your backup. +