[vlc-devel] [PATCH] Cosmetics : Added some cast in ts.c to prevent warnings

Rémi Denis-Courmont remi at remlab.net
Thu Jul 2 15:02:20 CEST 2009


Le jeudi 2 juillet 2009 14:51:47 Jean-Baptiste Besnard, vous avez écrit :
> Here are some new casts in ./modules/demux/ts.s mainly about signedness.

I do not know that code any better than you do (really), but it looks a bit 
backward. Probably the variables type should have their type changed to size_t 
or unsigned, rather than be cast, unless they really can take negative values.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list