diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-09-02 02:22:28 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-02 03:54:19 -0700 |
commit | 86d4a80b0069b2be368bfe4af164be5ff72a48b4 (patch) | |
tree | 4220ac13ad3afb9693e5140c9d868bc2d797f6ff | |
parent | a420911adce13025c5032c118c0b4f49d3ca3ad9 (diff) | |
download | mpd-86d4a80b0069b2be368bfe4af164be5ff72a48b4.tar.gz mpd-86d4a80b0069b2be368bfe4af164be5ff72a48b4.tar.xz mpd-86d4a80b0069b2be368bfe4af164be5ff72a48b4.zip |
ob_send: avoid void pointer arithmetic warning
-rw-r--r-- | src/outputBuffer_ob_send.h | 2 |
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; } } } |