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-0003oL-DF@gemulon.postgresql.org
Whole thread Raw
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
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4e6a910069d6c6f31e72c0891ee8495df61759bb

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


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Allow a few seconds for Windows to catch up with a directory ren
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Silence compiler warning about pointer type mismatch on some pla