summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-03-14 23:29:08 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-03-14 23:29:08 (GMT)
commitdef77e53465d83216e145ca713fa043a05e7f07a (patch)
treefab6951c7f3b5a7106408fdc9812d08256843b2a /Mac/Modules
parent7ceab654684eb3041c3d1e25ea860b7bd76daa2f (diff)
downloadcpython-def77e53465d83216e145ca713fa043a05e7f07a.zip
cpython-def77e53465d83216e145ca713fa043a05e7f07a.tar.gz
cpython-def77e53465d83216e145ca713fa043a05e7f07a.tar.bz2
AETransactionID was mistakenly defined as a short (it is a long). Fixed.
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/ae/AEmodule.c2
-rw-r--r--Mac/Modules/ae/aesupport.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/ae/AEmodule.c b/Mac/Modules/ae/AEmodule.c
index ebdb3e1..5bb7f9c 100644
--- a/Mac/Modules/ae/AEmodule.c
+++ b/Mac/Modules/ae/AEmodule.c
@@ -1095,7 +1095,7 @@ static PyObject *AE_AECreateAppleEvent(_self, _args)
AEReturnID returnID;
AETransactionID transactionID;
AppleEvent result;
- if (!PyArg_ParseTuple(_args, "O&O&O&hh",
+ if (!PyArg_ParseTuple(_args, "O&O&O&hl",
PyMac_GetOSType, &theAEEventClass,
PyMac_GetOSType, &theAEEventID,
AEDesc_Convert, &target,
diff --git a/Mac/Modules/ae/aesupport.py b/Mac/Modules/ae/aesupport.py
index d82496b..3695037 100644
--- a/Mac/Modules/ae/aesupport.py
+++ b/Mac/Modules/ae/aesupport.py
@@ -12,7 +12,7 @@ AESendMode = Type("AESendMode", "l")
AESendPriority = Type("AESendPriority", "h")
AEInteractAllowed = Type("AEInteractAllowed", "b")
AEReturnID = Type("AEReturnID", "h")
-AETransactionID = Type("AETransactionID", "h")
+AETransactionID = Type("AETransactionID", "l")