From: <fla...@gm...> - 2007-12-13 18:41:04
|
# HG changeset patch # User Diego 'Flameeyes' Pettenò <fla...@gm...> # Date 1197570653 -3600 # Node ID 54b2ed271bdc0f8a85cee383c1e09dec0a3928f7 # Parent f3d84191da5d930ac90193bbdc0ca5d7c43b8302 Fix casting of const pointer to non-const structure. diff -r 54b2ed271bdc0f8a85cee383c1e09dec0a3928f7 -r f3d84191da5d930ac90193bbdc0ca5d7c43b8302 src/libxineadec/xine_musepack_decoder.c --- a/src/libxineadec/xine_musepack_decoder.c Thu Dec 13 19:30:53 2007 +0100 +++ b/src/libxineadec/xine_musepack_decoder.c Thu Dec 13 19:29:35 2007 +0100 @@ -129,7 +129,7 @@ static int32_t mpc_reader_tell(void *con /* Returns the total length of the source stream, in bytes. */ static int32_t mpc_reader_get_size(void *const data) { - mpc_decoder_t *const this = (const mpc_decoder_t *) data; + mpc_decoder_t *const this = (mpc_decoder_t *) data; lprintf("mpc_reader_get_size\n"); |