sign mismatch in walreceiver.c

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: sign mismatch in walreceiver.c
Date: 2012-07-12 20:57:17
Message-ID: 1342126637.19702.4.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2012-07-12 21:00:27 Re: CREATE FOREGIN TABLE LACUNA
Previous Message Shaun Thomas 2012-07-12 20:40:55 Re: Synchronous Standalone Master Redoux