aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2013-01-14 09:46:14 -0800
committerPaul Eggert2013-01-14 09:46:14 -0800
commitc50cf2eac4b18e38bef5b6e58827cc2bce1e98f4 (patch)
tree56685b68573608bf284b55d0996cc471fda34366 /src/alloc.c
parent57dd9e68862eeb452388b07c855a8112c3a7b22f (diff)
downloademacs-c50cf2eac4b18e38bef5b6e58827cc2bce1e98f4.tar.gz
emacs-c50cf2eac4b18e38bef5b6e58827cc2bce1e98f4.zip
Avoid needless casts with XSAVE_POINTER.
* alloc.c (mark_object) [GC_MARK_STACK]: * dired.c (directory_files_internal_unwind): * fileio.c (do_auto_save_unwind): * gtkutil.c (pop_down_dialog): * keymap.c (map_keymap_char_table_item): * lread.c (load_unwind): * nsmenu.m (pop_down_menu): * print.c (print_object) [GC_MARK_STACK]: * xfns.c (clean_up_file_dialog): * xmenu.c (cleanup_widget_value_tree): Omit casts between XSAVE_POINTER and a pointer type.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index c50bb0f32c7..3f1ccc82a58 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -5943,7 +5943,7 @@ mark_object (Lisp_Object arg)
5943#if GC_MARK_STACK 5943#if GC_MARK_STACK
5944 if (ptr->area) 5944 if (ptr->area)
5945 { 5945 {
5946 Lisp_Object *p = (Lisp_Object *) ptr->data[0].pointer; 5946 Lisp_Object *p = ptr->data[0].pointer;
5947 ptrdiff_t nelt; 5947 ptrdiff_t nelt;
5948 for (nelt = ptr->data[1].integer; nelt > 0; nelt--, p++) 5948 for (nelt = ptr->data[1].integer; nelt > 0; nelt--, p++)
5949 mark_maybe_object (*p); 5949 mark_maybe_object (*p);