From 27cf4cc94874faf34c461e2f745a917d3c98b095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Tue, 20 Jun 2006 00:35:07 +0000 Subject: Fix generic warnings. CVS patchset: 8063 CVS date: 2006/06/20 00:35:07 --- src/xine-utils/xine_buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xine-utils/xine_buffer.c') diff --git a/src/xine-utils/xine_buffer.c b/src/xine-utils/xine_buffer.c index 8dafd23f1..0a10f80a2 100644 --- a/src/xine-utils/xine_buffer.c +++ b/src/xine-utils/xine_buffer.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_buffer.c,v 1.9 2006/02/14 19:12:16 dsalt Exp $ + * $Id: xine_buffer.c,v 1.10 2006/06/20 00:35:08 dgp85 Exp $ * * * generic dynamic buffer functions. The goals @@ -187,7 +187,7 @@ void *_xine_buffer_copyin(void *buf, int index, const void *data, int len) { CHECK_MAGIC(buf); #endif - GROW_TO(buf, index+len); + GROW_TO(buf, (size_t)index+len); xine_fast_memcpy(((uint8_t*)buf)+index, data, len); -- cgit v1.2.3