Commit 58c27cdb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

yadif: use uintptr_t when casting pointer to integer

parent b60c46f0
......@@ -126,7 +126,7 @@ VLC_TARGET static void RENAME(yadif_filter_line)(uint8_t *dst,
int w, int prefs, int mrefs, int parity, int mode)
{
uint8_t tmpU[5*16];
uint8_t *tmp= (uint8_t*)(((uint64_t)(tmpU+15)) & ~15);
uint8_t *tmp= (uint8_t*)(((uintptr_t)(tmpU+15)) & ~15);
int x;
#define FILTER\
......
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