summaryrefslogtreecommitdiff
path: root/src/xine-utils/xine_buffer.c
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-06-20 00:35:07 +0000
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2006-06-20 00:35:07 +0000
commit27cf4cc94874faf34c461e2f745a917d3c98b095 (patch)
treee199b95ef303e873c59d3d53993b27bc1dfadb2b /src/xine-utils/xine_buffer.c
parent1edd2f2a81cbf1d5385f5a9f12bf8ff2c05c701d (diff)
downloadxine-lib-27cf4cc94874faf34c461e2f745a917d3c98b095.tar.gz
xine-lib-27cf4cc94874faf34c461e2f745a917d3c98b095.tar.bz2
Fix generic warnings.
CVS patchset: 8063 CVS date: 2006/06/20 00:35:07
Diffstat (limited to 'src/xine-utils/xine_buffer.c')
-rw-r--r--src/xine-utils/xine_buffer.c4
1 files changed, 2 insertions, 2 deletions
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);