diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-06-20 00:35:07 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-06-20 00:35:07 +0000 |
commit | 27cf4cc94874faf34c461e2f745a917d3c98b095 (patch) | |
tree | e199b95ef303e873c59d3d53993b27bc1dfadb2b /src/xine-utils/xine_buffer.c | |
parent | 1edd2f2a81cbf1d5385f5a9f12bf8ff2c05c701d (diff) | |
download | xine-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.c | 4 |
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); |