From: YAMAMOTO Mitsuharu Date: Mon, 20 May 2013 03:09:22 +0000 (+0900) Subject: * xfns.c (check_x_display_info): Don't use XINT for terminal object. X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/5ba8bf358ff6e7fcaf0c9e987da9661e89c62e15 * xfns.c (check_x_display_info): Don't use XINT for terminal object. --- diff --git a/src/ChangeLog b/src/ChangeLog index e1f7a56aed..186f7812f4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-05-20 YAMAMOTO Mitsuharu + + * xfns.c (check_x_display_info): Don't use XINT for terminal object. + 2013-05-18 Paul Eggert Port --enable-gcc-warnings to clang. diff --git a/src/xfns.c b/src/xfns.c index 46cd10e5f2..a61d2de590 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -169,7 +169,7 @@ check_x_display_info (Lisp_Object object) struct terminal *t = get_terminal (object, 1); if (t->type != output_x_window) - error ("Terminal %"pI"d is not an X display", XINT (object)); + error ("Terminal %d is not an X display", t->id); dpyinfo = t->display_info.x; }