From 5ba8bf358ff6e7fcaf0c9e987da9661e89c62e15 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Mon, 20 May 2013 12:09:22 +0900 Subject: [PATCH] * xfns.c (check_x_display_info): Don't use XINT for terminal object. --- src/ChangeLog | 4 ++++ src/xfns.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index e1f7a56aede..186f7812f44 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 46cd10e5f2f..a61d2de5905 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; } -- 2.39.2