diff options
| author | Jay Lanagan <j@lngn.net> | 2025-09-29 09:51:28 -0400 |
|---|---|---|
| committer | Jay Lanagan <j@lngn.net> | 2025-09-29 09:51:28 -0400 |
| commit | 9a6af577ce42cb73efc98c09ab1ef6f9e0083153 (patch) | |
| tree | 883063343f20fe827c5aecdaa40fa9ddde2ecaf2 /libmpd/0001-fix-return-value.patch | |
| parent | ab119e4809a15d37522b7aea45d55911f8d43ac9 (diff) | |
| download | crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.tar.gz crux-xfce4-9a6af577ce42cb73efc98c09ab1ef6f9e0083153.zip | |
xfce4: initial migration
Diffstat (limited to 'libmpd/0001-fix-return-value.patch')
| -rw-r--r-- | libmpd/0001-fix-return-value.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libmpd/0001-fix-return-value.patch b/libmpd/0001-fix-return-value.patch new file mode 100644 index 0000000..b6c48cc --- /dev/null +++ b/libmpd/0001-fix-return-value.patch @@ -0,0 +1,21 @@ +From 91001f43970e3faa0a97ccc3fced03b86be47d27 Mon Sep 17 00:00:00 2001 +From: Christian Hesse <mail@eworm.de> +Date: Wed, 19 Jul 2017 14:22:48 +0200 +Subject: [PATCH 1/3] fix return makes integer from pointer without a cast +--- + src/libmpd-playlist.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/libmpd-playlist.c b/src/libmpd-playlist.c +index c3c30ec..64c64ea 100644 +--- a/src/libmpd-playlist.c ++++ b/src/libmpd-playlist.c +@@ -780,7 +780,7 @@ int mpd_playlist_load(MpdObj *mi, const char *path) + if(mpd_lock_conn(mi)) + { + debug_printf(DEBUG_ERROR,"lock failed\n"); +- return NULL; ++ return MPD_LOCK_FAILED; + } + mpd_sendLoadCommand(mi->connection,path); + mpd_finishCommand(mi->connection); |
