diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-13 19:26:54 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-12-13 19:26:54 +0100 |
commit | cf683b306826539356637f454d293f89b131a089 (patch) | |
tree | 4dfedbb135caf8a663ab866f1d811167b2b787a1 /src | |
parent | 571219b513b4fe6a368a9af5d440ab780f3d306a (diff) | |
download | xine-lib-cf683b306826539356637f454d293f89b131a089.tar.gz xine-lib-cf683b306826539356637f454d293f89b131a089.tar.bz2 |
Make parse_utf8_size accept a void* as parameter.
Diffstat (limited to 'src')
-rw-r--r-- | src/libsputext/xine_sputext_decoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsputext/xine_sputext_decoder.c b/src/libsputext/xine_sputext_decoder.c index f67fd7a7e..d28e67829 100644 --- a/src/libsputext/xine_sputext_decoder.c +++ b/src/libsputext/xine_sputext_decoder.c @@ -244,8 +244,9 @@ static void update_output_size (sputext_decoder_t *this) { } } -static int parse_utf8_size(unsigned char *c) +static int parse_utf8_size(const void *buf) { + const uint8_t *c = buf; if ( c[0]<0x80 ) return 1; |