aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-09-02 02:22:28 -0700
committerEric Wong <normalperson@yhbt.net>2008-09-02 03:54:19 -0700
commit86d4a80b0069b2be368bfe4af164be5ff72a48b4 (patch)
tree4220ac13ad3afb9693e5140c9d868bc2d797f6ff /src
parenta420911adce13025c5032c118c0b4f49d3ca3ad9 (diff)
downloadmpd-86d4a80b0069b2be368bfe4af164be5ff72a48b4.tar.gz
mpd-86d4a80b0069b2be368bfe4af164be5ff72a48b4.tar.xz
mpd-86d4a80b0069b2be368bfe4af164be5ff72a48b4.zip
ob_send: avoid void pointer arithmetic warning
Diffstat (limited to '')
-rw-r--r--src/outputBuffer_ob_send.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/outputBuffer_ob_send.h b/src/outputBuffer_ob_send.h
index d2c99b3f2..310d5f8fd 100644
--- a/src/outputBuffer_ob_send.h
+++ b/src/outputBuffer_ob_send.h
@@ -122,7 +122,7 @@ ob_send(void *data, size_t len,
start_playback();
return dc.action;
}
- data += c_len;
+ data = (unsigned char *)data + c_len;
}
}
}