diff decoders/mpglib.c @ 512:ef0d98d55865 stable-1.0

Patch to get mpglib going again, from Sam.
author Ryan C. Gordon <icculus@icculus.org>
date Fri, 12 May 2006 14:43:27 +0000
parents cbb15ecf423a
children 50bb9a6cebfe
line wrap: on
line diff
--- a/decoders/mpglib.c	Sat Dec 17 18:55:32 2005 +0000
+++ b/decoders/mpglib.c	Fri May 12 14:43:27 2006 +0000
@@ -199,7 +199,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,