summaryrefslogtreecommitdiff
path: root/src/demuxers/asfheader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/asfheader.c')
-rw-r--r--src/demuxers/asfheader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demuxers/asfheader.c b/src/demuxers/asfheader.c
index ea92f878b..26a61d8fd 100644
--- a/src/demuxers/asfheader.c
+++ b/src/demuxers/asfheader.c
@@ -152,7 +152,7 @@ static char *asf_reader_get_string(asf_reader_t *reader, size_t size, iconv_t cd
outbuf = scratch;
outbytesleft = sizeof(scratch);
reader->pos += size;
- if (iconv (cd, (ICONV_CONST char **)&inbuf, &inbytesleft, &outbuf, &outbytesleft) != -1) {
+ if (iconv (cd, (ICONV_CONST char **)&inbuf, &inbytesleft, &outbuf, &outbytesleft) != (size_t)-1) {
return strdup(scratch);
} else {
lprintf("iconv error\n");