From: Jack Jansen Date: Wed, 8 Jan 2003 16:32:09 +0000 (+0000) Subject: quashed another case of the 32-bit warning. X-Git-Tag: v2.3c1~2520 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=746096576ba29247ddcc7a9b6ca568731c08b7dc;p=thirdparty%2FPython%2Fcpython.git quashed another case of the 32-bit warning. --- diff --git a/Lib/plat-mac/FrameWork.py b/Lib/plat-mac/FrameWork.py index 24acd414619e..5ebf9d182bd6 100644 --- a/Lib/plat-mac/FrameWork.py +++ b/Lib/plat-mac/FrameWork.py @@ -645,7 +645,7 @@ class PopupMenu(Menu): reply = self.menu.PopUpMenuSelect(x, y, default) if not reply: return - id = (reply & 0xffff0000) >> 16 + id = (reply >> 16) & 0xffff item = reply & 0xffff if not window: wid = MyFrontWindow()