Mercurial > emacs
changeset 89254:25c1826d3baa
(xaw_scroll_callback): Cast correctly.
author | Dave Love <fx@gnu.org> |
---|---|
date | Tue, 29 Oct 2002 11:38:11 +0000 |
parents | 5277a40107d8 |
children | 78bdad0eddfa |
files | src/xterm.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Mon Oct 28 23:11:26 2002 +0000 +++ b/src/xterm.c Tue Oct 29 11:38:11 2002 +0000 @@ -8639,8 +8639,7 @@ XtPointer client_data, call_data; { struct scroll_bar *bar = (struct scroll_bar *) client_data; - /* Fixme: Check this. */ - long position = (long) call_data; + int position = *(int *) call_data; Dimension height; int part;