From 88c17cf9b415267d742646b99f534a26f94ccad0 Mon Sep 17 00:00:00 2001 From: Santabutthead Date: Sat, 7 Oct 2006 20:37:10 -0700 Subject: [PATCH] Show the timeout casted as a float as it happens that way anyhow in the prototype --- src/conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conn.c b/src/conn.c index 69e6bcf..31d04af 100644 --- a/src/conn.c +++ b/src/conn.c @@ -95,7 +95,7 @@ mpd_Connection *setup_connection() parse_password(host, &password_len, &parsed_len); - conn = mpd_newConnection(host + parsed_len, iport, MPD_TIMEOUT); + conn = mpd_newConnection(host + parsed_len, iport, (float)MPD_TIMEOUT); printErrorAndExit(conn); -- 2.11.4.GIT