Skip to content

Commit

Permalink
Merge branch 'dev41' into unicode
Browse files Browse the repository at this point in the history
  • Loading branch information
starg2 committed May 19, 2020
2 parents 4487ce0 + aec27a9 commit 8797bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timidity/w32_libmpg123_dll.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ typedef int (*type_mpg123_format)(mpg123_handle *mh, long rate, int channels, in
typedef int (*type_mpg123_replace_reader_handle)(mpg123_handle *mh, ssize_t (*r_read)(void *, void *, size_t), off_t (*r_lseek)(void *, off_t, int), void (*cleanup)(void *));
typedef int (*type_mpg123_open_handle)(mpg123_handle *mh, void *iohandle);
typedef int (*type_mpg123_getformat)(mpg123_handle *mh, long *rate, int *channels, int *encoding);
typedef int (*type_mpg123_read)(mpg123_handle *mh, unsigned char *out, size_t size, size_t *done);
typedef int (*type_mpg123_read)(mpg123_handle *mh, void *out, size_t size, size_t *done);

static struct {
type_mpg123_init mpg123_init;
Expand Down Expand Up @@ -167,7 +167,7 @@ int mpg123_getformat(mpg123_handle *mh, long *rate, int *channels, int *encoding
}
}

int mpg123_read(mpg123_handle *mh, unsigned char *out, size_t size, size_t *done)
int mpg123_read(mpg123_handle *mh, void *out, size_t size, size_t *done)
{
if (mpg123_dll.mpg123_read) {
return (*mpg123_dll.mpg123_read)(mh, out, size, done);
Expand Down

0 comments on commit 8797bb8

Please sign in to comment.