]> granicus.if.org Git - postgresql/commit
Silence compiler warning about pointer type mismatch on some platforms.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 2 Oct 2012 14:37:41 +0000 (17:37 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 2 Oct 2012 14:46:40 +0000 (17:46 +0300)
commit2a4bbed7b80283200216244e98f7f004ad4d735a
treefb4b5606589429b9cfb6619aa5b4439203679502
parent06623df63bc7debaad5b3239f2a4626b4c1d8855
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.
src/bin/pg_basebackup/receivelog.c