aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textadept.c b/src/textadept.c
index dc8ef49b..ca40dcd3 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -562,7 +562,7 @@ static OSErr w_ae_open(const AppleEvent *event, AppleEvent*, long) {
* @see w_exit
*/
static OSErr w_ae_quit(const AppleEvent *event, AppleEvent*, long) {
- return w_exit(NULL, NULL, NULL) ? noErr : errAEEventNotHandled;
+ return w_exit(NULL, NULL, NULL) ? (OSErr) noErr : errAEEventNotHandled;
}
/**