From: Tilman Sauerbeck Date: Sat, 19 Aug 2006 08:11:52 +0000 (+0200) Subject: Fixed a compiler warning. X-Git-Tag: ruby-vorbistagger-0.0.1~4 X-Git-Url: http://git.code-monkey.de/?p=ruby-vorbistagger.git;a=commitdiff_plain;h=d8cba7e04eafcca90fff938a0b68b4ebe9c7b45e Fixed a compiler warning. --- diff --git a/ext/vcedit.c b/ext/vcedit.c index f5f493a..32778a3 100644 --- a/ext/vcedit.c +++ b/ext/vcedit.c @@ -182,7 +182,7 @@ vcedit_state_unref (vcedit_state *s) * - we don't want to overwrite the vendor string. */ static void -_v_writestring (oggpack_buffer *o, char *s, int len) +_v_writestring (oggpack_buffer *o, const char *s, int len) { while (len--) oggpack_write (o, *s++, 8);