changeset 322:cf9b918d8177 trunk

[svn] Squash void pointer arithmetic warning in futils.c
author chainsaw
date Sun, 18 Dec 2005 13:48:43 -0800
parents bd81a73eadff
children f61c05314118
files Plugins/Input/wma/libffwma/futils.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/wma/libffwma/futils.c	Sun Dec 18 13:30:27 2005 -0800
+++ b/Plugins/Input/wma/libffwma/futils.c	Sun Dec 18 13:48:43 2005 -0800
@@ -149,7 +149,7 @@
     void *data = malloc(size + FF_INPUT_BUFFER_PADDING_SIZE);
     if (!data)
         return AVERROR_NOMEM;
-    memset(data + size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
+    memset((int *)data + size, 0, FF_INPUT_BUFFER_PADDING_SIZE);
 
     av_init_packet(pkt);
     pkt->data = data;