Mercurial > mplayer.hg
comparison libaf/reorder_ch.c @ 27450:4da9ce4d8327
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)
author | ranma |
---|---|
date | Sun, 24 Aug 2008 13:52:54 +0000 |
parents | d3a0f537dbe8 |
children | e65738d7dd3b |
comparison
equal
deleted
inserted
replaced
27449:5723b671a0f6 | 27450:4da9ce4d8327 |
---|