diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-10-18 09:40:04 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-10-18 09:40:04 +0300 |
commit | 4b6d6e69098ec2c823b637a82e1c3fb10539f7b0 (patch) | |
tree | 3523e73193a814d79a49246d639e8d9101b6f03c /src/w32select.c | |
parent | 6c854f07d1a6cbe46bd5a5a9dd3910c87b418d93 (diff) | |
download | emacs-4b6d6e69098ec2c823b637a82e1c3fb10539f7b0.tar.gz |
Ensure 8-byte stack alignment in w32select's callback.
src/w32select.c (owner_callback): Mark with ALIGN_STACK attribute.
Diffstat (limited to 'src/w32select.c')
-rw-r--r-- | src/w32select.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w32select.c b/src/w32select.c index 7c21dde01a5..9fa84ca5c54 100644 --- a/src/w32select.c +++ b/src/w32select.c @@ -95,8 +95,8 @@ static Lisp_Object render_locale (void); static Lisp_Object render_all (Lisp_Object ignore); static void run_protected (Lisp_Object (*code) (Lisp_Object), Lisp_Object arg); static Lisp_Object lisp_error_handler (Lisp_Object error); -static LRESULT CALLBACK owner_callback (HWND win, UINT msg, - WPARAM wp, LPARAM lp); +static LRESULT CALLBACK ALIGN_STACK owner_callback (HWND win, UINT msg, + WPARAM wp, LPARAM lp); static HWND create_owner (void); static void setup_config (void); @@ -420,7 +420,7 @@ lisp_error_handler (Lisp_Object error) } -static LRESULT CALLBACK +static LRESULT CALLBACK ALIGN_STACK owner_callback (HWND win, UINT msg, WPARAM wp, LPARAM lp) { switch (msg) |