Re: sign mismatch in walreceiver.c - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: sign mismatch in walreceiver.c
Date
Msg-id 5001B6A5.7070603@enterprisedb.com
Whole thread Raw
In response to sign mismatch in walreceiver.c  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On 12.07.2012 23:57, Peter Eisentraut wrote:
> This looks suspicious
>
> static TimeLineID   recvFileTLI = -1;
>
> because TimeLineID is uint32.  The Solaris compiler complains about the
> sign mismatch.
>
> Maybe 0 would be a better initial value?

Agreed, fixed, thanks.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Support for XLogRecPtr in expand_fmt_string?
Next
From: Heikki Linnakangas
Date:
Subject: Re: Reporting WAL file containing checkpoint's REDO record in pg_controldata's result