From: Paul Eggert Date: Thu, 12 May 2011 17:18:58 +0000 (-0700) Subject: * xselect.c (x_own_selection): Remove needless cast to unsigned long. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~239^2~23^2~10 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6434756cc552458f871b66dbd28692c8de69633c;p=emacs.git * xselect.c (x_own_selection): Remove needless cast to unsigned long. --- 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);