diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-10-17 17:37:55 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-10-17 17:37:55 +0200 |
commit | fcf148759e42645a28fb17584a653ef99d22bb35 (patch) | |
tree | 9c8e9af7e45ed896642ac0cb5ab10fd7abe4b609 /src/cygw32.c | |
parent | 596846525bf5f515541ab1ca9a459f4842d55d1d (diff) |
Fix bug #12661 with w32 and cygw32 builds under --enable-check-lisp-object-type.
src/cygw32.c (Fcygwin_convert_path_to_windows)
(Fcygwin_convert_path_from_windows): Use EQ to compare 2
Lisp_Object values.
src/w32fns.c (w32_msg_pump): Use XIL instead of casting an integer
to Lisp_Object.
Diffstat (limited to 'src/cygw32.c')
-rw-r--r-- | src/cygw32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cygw32.c b/src/cygw32.c index c45a45648e..8f63461da2 100644 --- a/src/cygw32.c +++ b/src/cygw32.c @@ -145,7 +145,7 @@ DEFUN ("cygwin-convert-path-to-windows", (Lisp_Object path, Lisp_Object absolute_p) { return from_unicode ( - conv_filename_to_w32_unicode (path, absolute_p == Qnil ? 0 : 1)); + conv_filename_to_w32_unicode (path, EQ (absolute_p, Qnil) ? 0 : 1)); } DEFUN ("cygwin-convert-path-from-windows", @@ -156,7 +156,7 @@ DEFUN ("cygwin-convert-path-from-windows", (Lisp_Object path, Lisp_Object absolute_p) { return conv_filename_from_w32_unicode (to_unicode (path, &path), - absolute_p == Qnil ? 0 : 1); + EQ (absolute_p, Qnil) ? 0 : 1); } void |