diff options
| author | Paul Eggert | 2011-05-12 10:18:58 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-12 10:18:58 -0700 |
| commit | 6434756cc552458f871b66dbd28692c8de69633c (patch) | |
| tree | 4fcf56b1bf7665b0237d10e6aff64c9974b20d8b /src | |
| parent | 841f1b75c4724d853b94ba6fd6e3b87571d3dca6 (diff) | |
| download | emacs-6434756cc552458f871b66dbd28692c8de69633c.tar.gz emacs-6434756cc552458f871b66dbd28692c8de69633c.zip | |
* xselect.c (x_own_selection): Remove needless cast to unsigned long.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/xselect.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8dd4ba209c1..4d6251f6bde 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | 2011-05-12 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-05-12 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * xselect.c (last_event_timestamp): Remove duplicate decl. | 3 | * xselect.c (last_event_timestamp): Remove duplicate decl. |
| 4 | (x_own_selection): Remove needless cast to unsigned long. | ||
| 4 | 5 | ||
| 5 | * xmenu.c (set_frame_menubar): Use int, not EMACS_UINT, for indexes | 6 | * xmenu.c (set_frame_menubar): Use int, not EMACS_UINT, for indexes |
| 6 | that always fit in int. Use a sentinel instead of a counter, to | 7 | 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) | |||
| 352 | Lisp_Object selection_data; | 352 | Lisp_Object selection_data; |
| 353 | Lisp_Object prev_value; | 353 | Lisp_Object prev_value; |
| 354 | 354 | ||
| 355 | selection_time = long_to_cons ((unsigned long) timestamp); | 355 | selection_time = long_to_cons (timestamp); |
| 356 | selection_data = list4 (selection_name, selection_value, | 356 | selection_data = list4 (selection_name, selection_value, |
| 357 | selection_time, selected_frame); | 357 | selection_time, selected_frame); |
| 358 | prev_value = assq_no_quit (selection_name, Vselection_alist); | 358 | prev_value = assq_no_quit (selection_name, Vselection_alist); |