changeset 8904:af3ff2dbaddd

(Fframe_parameters): Fix Lisp_Object vs. int problems.
author Karl Heuer <kwzh@gnu.org>
date Mon, 19 Sep 1994 00:16:58 +0000
parents 03597c3eb63b
children 2ef3da79aabb
files src/frame.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/frame.c	Mon Sep 19 00:16:13 1994 +0000
+++ b/src/frame.c	Mon Sep 19 00:16:58 1994 +0000
@@ -1429,8 +1429,12 @@
     x_report_frame_params (f, &alist);
   else
 #endif
-    /* This ought to be correct in f->param_alist for an X frame.  */
-    store_in_alist (&alist, Qmenu_bar_lines, FRAME_MENU_BAR_LINES (f));
+    {
+      /* This ought to be correct in f->param_alist for an X frame.  */
+      Lisp_Object lines;
+      XFASTINT (lines) = FRAME_MENU_BAR_LINES (f);
+      store_in_alist (&alist, Qmenu_bar_lines, lines);
+    }
   return alist;
 }