pgsql: Silence compiler warning about pointer type mismatch on some pla - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Silence compiler warning about pointer type mismatch on some pla
Date
Msg-id E1TJ3kh-0003oJ-Cc@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Silence compiler warning about pointer type mismatch on some pla
List pgsql-committers
Silence compiler warning about pointer type mismatch on some platforms.

timeval.t_sec is of type time_t, which is not always compatible with long.
I'm not sure if this was just harmless warning or a real bug, but this
fixes it, anyway.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2a4bbed7b80283200216244e98f7f004ad4d735a

Modified Files
--------------
src/bin/pg_basebackup/receivelog.c |   11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Silence compiler warning about pointer type mismatch on some pla
Next
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Split off functions related to timeline history files and XLOG a