pgsql: Silence compiler warning about pointer type mismatch on some pla

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Silence compiler warning about pointer type mismatch on some pla
Date: 2012-10-02 14:47:15
Message-ID: E1TJ3kh-0003oJ-Cc@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2012-10-02 14:48:22 Re: pgsql: Split off functions related to timeline history files and XLOG a
Previous Message Andrew Dunstan 2012-10-02 14:43:20 pgsql: Allow a few seconds for Windows to catch up with a directory ren