From 7c118b57e6c99a1435f2e17e527a254c2648313f Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 29 Sep 1994 19:23:41 +0000 Subject: [PATCH] (x_report_frame_params): Fix format/arg mismatch. --- src/xfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfns.c b/src/xfns.c index ff389a2b1a7..4255d7f2fec 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -704,7 +704,7 @@ x_report_frame_params (f, alistptr) make_number (f->display.x->border_width)); store_in_alist (alistptr, Qinternal_border_width, make_number (f->display.x->internal_border_width)); - sprintf (buf, "%d", FRAME_X_WINDOW (f)); + sprintf (buf, "%ld", (long) FRAME_X_WINDOW (f)); store_in_alist (alistptr, Qwindow_id, build_string (buf)); FRAME_SAMPLE_VISIBILITY (f); -- 2.39.5