aboutsummaryrefslogtreecommitdiffstats
path: root/src/dired.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/dired.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/dired.c')
-rw-r--r--src/dired.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dired.c b/src/dired.c
index 77e89c6e6b3..8483721401a 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -78,7 +78,7 @@ directory_files_internal_w32_unwind (Lisp_Object arg)
78static Lisp_Object 78static Lisp_Object
79directory_files_internal_unwind (Lisp_Object dh) 79directory_files_internal_unwind (Lisp_Object dh)
80{ 80{
81 DIR *d = (DIR *) XSAVE_POINTER (dh); 81 DIR *d = XSAVE_POINTER (dh);
82 block_input (); 82 block_input ();
83 closedir (d); 83 closedir (d);
84 unblock_input (); 84 unblock_input ();