cocoa: fix some pointer casts to be 32bit safe

credits: wm4
This commit is contained in:
Stefano Pigozzi
2014-10-05 15:22:17 +02:00
parent c8ed4736ef
commit 7968814470
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@ static void wakeup(void *);
}
#if EMBED_VIEW
uintptr_t wid = (uintptr_t)self->w;
int64_t wid = (intptr_t) self->w;
check_error(mpv_set_option(mpv, "wid", MPV_FORMAT_INT64, &wid));
#endif