summaryrefslogtreecommitdiff
path: root/audio/mpc/files/patch-src-command.c--gcc295
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mpc/files/patch-src-command.c--gcc295')
-rw-r--r--audio/mpc/files/patch-src-command.c--gcc29516
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/mpc/files/patch-src-command.c--gcc295 b/audio/mpc/files/patch-src-command.c--gcc295
new file mode 100644
index 000000000000..4f1296b82cfc
--- /dev/null
+++ b/audio/mpc/files/patch-src-command.c--gcc295
@@ -0,0 +1,16 @@
+--- src/command.c Sat Mar 12 22:32:11 2005
++++ src/command.c Sat Mar 12 22:32:43 2005
+@@ -183,10 +183,12 @@
+ int cmd_crop( int argc, char ** argv, mpd_Connection * conn )
+ {
+
++ int length;
++
+ mpd_Status *status;
+ status = getStatus( conn );
+
+- int length = ( status->playlistLength - 1 );
++ length = ( status->playlistLength - 1 );
+
+ if( status->playlistLength == 0 ) {
+