Commit de01d882 authored by Anton Mitrofanov's avatar Anton Mitrofanov Committed by Fiona Glaser

Fix pointer cast warning for 64-bit builds

parent 8b821ec1
......@@ -58,7 +58,7 @@ void x264_safe_intel_cpu_indicator_init( void );
* if it doesn't).
*/
#if (ARCH_X86 || HAVE_32B_STACK_ALIGNMENT) && HAVE_MMX
int x264_stack_align( void (*func)(), ... );
intptr_t x264_stack_align( void (*func)(), ... );
#define x264_stack_align(func,...) x264_stack_align((void (*)())func, __VA_ARGS__)
#else
#define x264_stack_align(func,...) func(__VA_ARGS__)
......
......@@ -2557,7 +2557,7 @@ static ALWAYS_INLINE void x264_bitstream_restore( x264_t *h, x264_bs_bak_t *bak,
}
}
static int x264_slice_write( x264_t *h )
static intptr_t x264_slice_write( x264_t *h )
{
int i_skip;
int mb_xy, i_mb_x, i_mb_y;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment