aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2009-02-08 15:52:21 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2009-02-08 15:52:21 -0500
commit53987cb7851bd1577b6447981f1ecd2bcfdb64bb (patch)
treeed461f6a731779329267b5704fd9b9d4df9afcba
parentd0f74fd99b9137ddd695f4c2abf288f7c1cd52e0 (diff)
downloadtextadept-53987cb7851bd1577b6447981f1ecd2bcfdb64bb.tar.gz
textadept-53987cb7851bd1577b6447981f1ecd2bcfdb64bb.zip
Fix compiler warning; 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;
}
/**