Permalink
Browse files

avoid compiler warnings

  • Loading branch information...
1 parent 5215265 commit 0ff14a2aa115758b70707b932614de3bd4587681 Christian Kruse committed Feb 21, 2014
Showing with 3 additions and 3 deletions.
  1. +1 −1 dbutils.c
  2. +1 −1 dbutils.h
  3. +1 −1 repmgrd.c
View
@@ -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;
View
@@ -39,6 +39,6 @@ const char *get_cluster_size(PGconn *conn);
PGconn *getMasterConnection(PGconn *standby_conn, char *schema, char *cluster,
int *master_id, char *master_conninfo_out);
-int wait_connection_availability(PGconn *conn, unsigned long timeout);
+int wait_connection_availability(PGconn *conn, long long timeout);
bool CancelQuery(PGconn *conn, int timeout);
#endif
View
@@ -144,7 +144,7 @@ static void terminate(int retval);
static void setup_event_handlers(void);
#endif
-static void do_daemonize();
+static void do_daemonize(void);
static void check_and_create_pid_file(const char *pid_file);
static void

0 comments on commit 0ff14a2

Please sign in to comment.