changeset 9182:516fdeee89d6

(x_report_frame_params): Fix format/arg mismatch.
author Karl Heuer <kwzh@gnu.org>
date Thu, 29 Sep 1994 19:23:41 +0000
parents b27c4cad21fb
children f49aca34b7ae
files src/xfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Thu Sep 29 19:22:57 1994 +0000
+++ b/src/xfns.c	Thu Sep 29 19:23:41 1994 +0000
@@ -704,7 +704,7 @@
        	   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);