ppc: fix some pointer to integer casts
authorMans Rullgard <mans@mansr.com>
Sun, 25 Sep 2011 17:27:47 +0000 (18:27 +0100)
committerReinhard Tartler <siretart@tauware.de>
Mon, 26 Sep 2011 17:31:32 +0000 (19:31 +0200)
commitdde0fb4aeaf855fc38fb002c23dbbeba06407a09
treecb07b8933e5c56a4667c79845ba3c10b7945ef38
parentecda54a640a7de55274ad2a86d58d0b483097aac
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>
(cherry picked from commit d853e571ad5e7e12c6a68cfde390daced7d85fbb)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libswscale/ppc/swscale_altivec.c