1From f0f8cc5ac6f1fa9cb5c98cb0b3688f44c64fa8ee Mon Sep 17 00:00:00 2001 2From: Christian Hesse <mail@eworm.de> 3Date: Wed, 19 Jul 2017 14:22:48 +0200 4Subject: [PATCH 1/3] fix return makes integer from pointer without a cast 5 6Upstream-Status: Pending [https://github.com/archlinux/svntogit-packages/tree/packages/libmpd/trunk] 7Signed-off-by: Khem Raj <raj.khem@gmail.com> 8--- 9 src/libmpd-playlist.c | 2 +- 10 1 file changed, 1 insertion(+), 1 deletion(-) 11 12diff --git a/src/libmpd-playlist.c b/src/libmpd-playlist.c 13index c3c30ec..64c64ea 100644 14--- a/src/libmpd-playlist.c 15+++ b/src/libmpd-playlist.c 16@@ -780,7 +780,7 @@ int mpd_playlist_load(MpdObj *mi, const char *path) 17 if(mpd_lock_conn(mi)) 18 { 19 debug_printf(DEBUG_ERROR,"lock failed\n"); 20- return NULL; 21+ return MPD_LOCK_FAILED; 22 } 23 mpd_sendLoadCommand(mi->connection,path); 24 mpd_finishCommand(mi->connection); 25-- 262.37.2 27 28