]> 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:53 +0000 (17:46 +0300)
commit4e6a910069d6c6f31e72c0891ee8495df61759bb
tree76126784fa023e938c52f495cd9f9fba6f478964
parenta50be771c80446d36771ff6c425a152e0d332315
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