From 1151b4a8ac8edd6ff022b91c016be045fcef25fa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 17 Mar 2017 23:45:35 +0100 Subject: [PATCH] mpdclient: convert port to "unsigned" --- src/mpdclient.c | 2 +- src/mpdclient.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpdclient.c b/src/mpdclient.c index f500c9a..31e8a72 100644 --- a/src/mpdclient.c +++ b/src/mpdclient.c @@ -161,7 +161,7 @@ mpdclient_disconnect(struct mpdclient *c) bool mpdclient_connect(struct mpdclient *c, const gchar *host, - gint port, + unsigned port, unsigned timeout_ms, const gchar *password) { diff --git a/src/mpdclient.h b/src/mpdclient.h index 8487846..b959f5c 100644 --- a/src/mpdclient.h +++ b/src/mpdclient.h @@ -120,7 +120,7 @@ mpdclient_get_current_song(const struct mpdclient *c) } bool -mpdclient_connect(struct mpdclient *c, const gchar *host, gint port, +mpdclient_connect(struct mpdclient *c, const gchar *host, unsigned port, unsigned timeout_ms, const gchar *password); void -- 2.30.2