[vlc-commits] xiph demux: Kill a warning (comparison betw. signed and unsigned)
Andri Pálsson
git at videolan.org
Tue Feb 22 14:55:39 CET 2011
vlc | branch: master | Andri Pálsson <palsson.andri at gmail.com> | 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 <mirsal at mirsal.fr>
> 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;
More information about the vlc-commits
mailing list