From 79688144704dd93169d86cc5a75385604e88c72c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 5 Oct 2014 15:22:17 +0200 Subject: cocoa: fix some pointer casts to be 32bit safe credits: wm4 --- DOCS/client_api_examples/cocoabasic.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'DOCS') diff --git a/DOCS/client_api_examples/cocoabasic.m b/DOCS/client_api_examples/cocoabasic.m index 66a9ff8f7e..5c1a89bc2e 100644 --- a/DOCS/client_api_examples/cocoabasic.m +++ b/DOCS/client_api_examples/cocoabasic.m @@ -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 -- cgit v1.2.3