Mercurial > mplayer.hg
view libaf/dsp.h @ 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 | 07abe94a9cc4 |
children | 72d0b1444141 |
line wrap: on
line source
/*============================================================================= // // This software has been released under the terms of the GNU General Public // license. See http://www.gnu.org/copyleft/gpl.html for details. // // Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au // //============================================================================= */ #ifndef MPLAYER_DSP_H #define MPLAYER_DSP_H /* Implementation of routines used for DSP */ /* Size of floating point type used in routines */ #define FLOAT_TYPE float #include "window.h" #include "filter.h" #endif /* MPLAYER_DSP_H */