From ea717ae364b535aabf1db1fe1a23d81f3d3e3b22 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 2 Sep 2011 06:27:07 -0600 Subject: [PATCH] cocoa: fix switch-to-gui-app for 64-bit original commit: d857385797f20271612ad01940e96d0f1d6f7578 --- collects/mred/private/wx/cocoa/queue.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collects/mred/private/wx/cocoa/queue.rkt b/collects/mred/private/wx/cocoa/queue.rkt index 42c848ed..7e79f607 100644 --- a/collects/mred/private/wx/cocoa/queue.rkt +++ b/collects/mred/private/wx/cocoa/queue.rkt @@ -82,8 +82,8 @@ ;; explicitly register with the dock so the application can receive ;; keyboard events. (define-cstruct _ProcessSerialNumber - ([highLongOfPSN _ulong] - [lowLongOfPSN _ulong])) + ([highLongOfPSN _uint32] + [lowLongOfPSN _uint32])) (define kCurrentProcess 2) (define kProcessTransformToForegroundApplication 1) (define-appserv TransformProcessType (_fun _ProcessSerialNumber-pointer