aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2013-06-17 14:12:21 -0700
committerPaul Eggert2013-06-17 14:12:21 -0700
commitec6ecaad44f4ca36e1ee7224c300222c6433471b (patch)
tree4b1a24de57b456f3e427cf6c4a0a1385aee1443f /src
parent0a4df6a50e743221bd50137428ca72a506a64bea (diff)
downloademacs-ec6ecaad44f4ca36e1ee7224c300222c6433471b.tar.gz
emacs-ec6ecaad44f4ca36e1ee7224c300222c6433471b.zip
* frame.c (x_report_frame_params): Cast parent_desc to uintptr_t.
Needed if HAVE_NTGUI. Reported by Juanma Barranquero.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/frame.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 04e99446fa5..9a23c144e82 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12013-06-17 Paul Eggert <eggert@cs.ucla.edu> 12013-06-17 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * frame.c (x_report_frame_params): Cast parent_desc to uintptr_t.
4 Needed if HAVE_NTGUI. Reported by Juanma Barranquero.
5
3 * nsfont.m (ns_registry_to_script): Parenthesize while expression. 6 * nsfont.m (ns_registry_to_script): Parenthesize while expression.
4 7
52013-06-17 Eli Zaretskii <eliz@gnu.org> 82013-06-17 Eli Zaretskii <eliz@gnu.org>
diff --git a/src/frame.c b/src/frame.c
index a207ef690da..ba9074ddebe 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -2925,7 +2925,7 @@ x_report_frame_params (struct frame *f, Lisp_Object *alistptr)
2925 if (FRAME_X_OUTPUT (f)->parent_desc == FRAME_X_DISPLAY_INFO (f)->root_window) 2925 if (FRAME_X_OUTPUT (f)->parent_desc == FRAME_X_DISPLAY_INFO (f)->root_window)
2926 tem = Qnil; 2926 tem = Qnil;
2927 else 2927 else
2928 XSETFASTINT (tem, FRAME_X_OUTPUT (f)->parent_desc); 2928 tem = make_natnum ((uintptr_t) FRAME_X_OUTPUT (f)->parent_desc);
2929 store_in_alist (alistptr, Qexplicit_name, (f->explicit_name ? Qt : Qnil)); 2929 store_in_alist (alistptr, Qexplicit_name, (f->explicit_name ? Qt : Qnil));
2930 store_in_alist (alistptr, Qparent_id, tem); 2930 store_in_alist (alistptr, Qparent_id, tem);
2931 store_in_alist (alistptr, Qtool_bar_position, f->tool_bar_position); 2931 store_in_alist (alistptr, Qtool_bar_position, f->tool_bar_position);