[MPlayer-cvslog] r27482 - trunk/libao2/ao_oss.c

Diego Biurrun diego at biurrun.de
Tue Aug 26 00:48:24 CEST 2008

On Sun, Aug 24, 2008 at 03:52:55PM +0200, ranma wrote:
> Log:
> Fix 'cast from pointer to integer of different size' on 64bit architectures.  Casting to long should work for 32bit and 64bit and not make a difference to the boolean operation (since 'format' is always 32bit (int) the upper 32bit of 'arg' won't matter, but the compiler should be happy now. Casting both to unsigned makes sure the compiler isn't messing things up by sign-extending 'format' to 64bit before masking)

Please break lines in commit messages.


More information about the MPlayer-cvslog mailing list