avoid compiler warnings

This commit is contained in:
Christian Kruse
2014-02-21 13:47:29 +01:00
parent 5215265694
commit 0ff14a2aa1
3 changed files with 3 additions and 3 deletions

View File

@@ -428,7 +428,7 @@ getMasterConnection(PGconn *standby_conn, char *schema, char *cluster,
* return 1 if Ok; 0 if any error ocurred; -1 if timeout reached
*/
int
wait_connection_availability(PGconn *conn, unsigned long timeout)
wait_connection_availability(PGconn *conn, long long timeout)
{
PGresult *res;
fd_set read_set;