]> git.sesse.net Git - ffmpeg/commit
ppc: fix some pointer to integer casts
authorMans Rullgard <mans@mansr.com>
Sun, 25 Sep 2011 17:27:47 +0000 (18:27 +0100)
committerMans Rullgard <mans@mansr.com>
Sun, 25 Sep 2011 17:33:38 +0000 (18:33 +0100)
commitd853e571ad5e7e12c6a68cfde390daced7d85fbb
treebeb07b4b75fb9944f285068859fed067d9beb739
parent6e4a35ced96cdf31a9d3bd82fd147554750af839
ppc: fix some pointer to integer casts

Use uintptr_t instead of plain int.  Without this change, the
comparisons will come out wrong for pointers in certain ranges.
Fixes random failures on ppc64.  Also fixes some compiler warnings.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libswscale/ppc/swscale_altivec.c