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

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Silence compiler warning about pointer type mismatch on some pla
Дата
Msg-id E1TJ3kh-0003oL-DF@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Allow a few seconds for Windows to catch up with a directory ren
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Silence compiler warning about pointer type mismatch on some pla