aboutsummaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
authorMichael Niedermayer2011-04-24 17:46:50 +0200
committerMichael Niedermayer2011-04-24 17:46:50 +0200
commite3323a1cbdadef21a6cbc98bc6c3e24457b45eab (patch)
treea7c6d8f49933071939efa774c04b758b3d435a5a /libavformat/avio.c
parent47ec6546d240e3d9a8f76f25e127dcb4a3a9f7b9 (diff)
Fix some passing argument from incompatible pointer type warnings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 936a3d979c..2d587b349a 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -307,7 +307,7 @@ int ffurl_write(URLContext *h, const unsigned char *buf, int size)
if (h->max_packet_size && size > h->max_packet_size)
return AVERROR(EIO);
- return retry_transfer_wrapper(h, buf, size, size, h->prot->url_write);
+ return retry_transfer_wrapper(h, buf, size, size, (void*)h->prot->url_write);
}
int64_t ffurl_seek(URLContext *h, int64_t pos, int whence)