From: Max Kellermann Date: Fri, 17 Mar 2017 22:45:35 +0000 (+0100) Subject: mpdclient: convert port to "unsigned" X-Git-Tag: v0.26~44 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1151b4a8ac8edd6ff022b91c016be045fcef25fa;p=ncmpc.git mpdclient: convert port to "unsigned" --- 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