From 6434756cc552458f871b66dbd28692c8de69633c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 12 May 2011 10:18:58 -0700 Subject: [PATCH] * xselect.c (x_own_selection): Remove needless cast to unsigned long. --- src/ChangeLog | 1 + src/xselect.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 8dd4ba209c1..4d6251f6bde 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,6 +1,7 @@ 2011-05-12 Paul Eggert * xselect.c (last_event_timestamp): Remove duplicate decl. + (x_own_selection): Remove needless cast to unsigned long. * xmenu.c (set_frame_menubar): Use int, not EMACS_UINT, for indexes that always fit in int. Use a sentinel instead of a counter, to diff --git a/src/xselect.c b/src/xselect.c index e279b398149..3ddd4c54b49 100644 --- a/src/xselect.c +++ b/src/xselect.c @@ -352,7 +352,7 @@ x_own_selection (Lisp_Object selection_name, Lisp_Object selection_value) Lisp_Object selection_data; Lisp_Object prev_value; - selection_time = long_to_cons ((unsigned long) timestamp); + selection_time = long_to_cons (timestamp); selection_data = list4 (selection_name, selection_value, selection_time, selected_frame); prev_value = assq_no_quit (selection_name, Vselection_alist); -- 2.39.2