# HG changeset patch # User Ryan C. Gordon # Date 1147445007 0 # Node ID 006e3d6cd2fef89a72748760c0cf6fdefa048e16 # Parent 8d0c2179525817365278b456fbe5fd8618c96833 Patch to get mpglib going again, from Sam. diff -r 8d0c21795258 -r 006e3d6cd2fe CHANGELOG --- a/CHANGELOG Fri Mar 31 07:21:52 2006 +0000 +++ b/CHANGELOG Fri May 12 14:43:27 2006 +0000 @@ -2,6 +2,7 @@ * CHANGELOG. */ +05122005 - Patched to get mpglib compiling again (thanks, Sam!). 03312005 - Wedged in a temporary hack for Speex rewinding. 12172005 - Fixed gcc4 whining in playsound_simple.c. 12062005 - Trimmed a bunch of junk out of the build system, and now it works diff -r 8d0c21795258 -r 006e3d6cd2fe decoders/mpglib.c --- a/decoders/mpglib.c Fri Mar 31 07:21:52 2006 +0000 +++ b/decoders/mpglib.c Fri May 12 14:43:27 2006 +0000 @@ -226,7 +226,7 @@ { if (mpg->outleft > 0) { - Uint16 cpysize = internal->buffer_size - bw; + size_t cpysize = internal->buffer_size - bw; if (cpysize > mpg->outleft) cpysize = mpg->outleft; memcpy(((Uint8 *) internal->buffer) + bw,