vlc | branch: master | Andri Pálsson <[email protected]> | Mon Feb 21 22:22:48 2011 +0100| [ea5e62b58eb0660153f73b0870540e5175d00820] | committer: Mirsal Ennaime
xiph demux: Kill a warning (comparison betw. signed and unsigned) Signed-off-by: Mirsal Ennaime <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea5e62b58eb0660153f73b0870540e5175d00820 --- modules/demux/xiph.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/demux/xiph.h b/modules/demux/xiph.h index 9c92906..0ce5dc4 100644 --- a/modules/demux/xiph.h +++ b/modules/demux/xiph.h @@ -48,7 +48,7 @@ static inline int xiph_SplitHeaders(unsigned packet_size[], void *packet[], unsi } size += packet_size[i]; } - if (end - current < size) + if (end - current < (int)size) return VLC_EGENERIC; packet_size[count - 1] = end - current - size; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
