[vlc-devel] vlc: svn commit r24680 (funman)

Remi Denis-Courmont rdenis at simphalempin.com
Tue Jan 29 15:26:16 CET 2008


On Tue, 29 Jan 2008 14:34:31 +0100 (CET), Subversion daemon
<svn at videolan.org> wrote:
>     use size_t instead of int to represent sizes

Mixing int and size_t is wrong:
It should be ssize_t if you need to support negative values. ssize_t is
bigger than int on, e.g. amd64.

Second, there are places where size_t does not make much sense, and should
have unsigned.
picture dimensions for instance??


-- 
Rémi




More information about the vlc-devel mailing list