summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-09-20 04:44:01 +0000
committerKarl Heuer <kwzh@gnu.org>1994-09-20 04:44:01 +0000
commitfae7e1fce9377049f9f3aed204e359a84c29ade3 (patch)
treec4f5b39db5aa1049d2d852d65f4d9d6fe3f2991a
parent3441ad082a361b6775debf592b6249f36a68938e (diff)
downloademacs-fae7e1fce9377049f9f3aed204e359a84c29ade3.tar.gz
(Fset_window_buffer): Fix Lisp_Object vs. int problems.
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index ba78cb5dd9b..b2a25bd48ac 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1730,9 +1730,9 @@ BUFFER can be a buffer or buffer name.")
}
w->buffer = buffer;
- w->window_end_pos = 0;
+ XFASTINT (w->window_end_pos) = 0;
w->window_end_valid = Qnil;
- w->hscroll = 0;
+ XFASTINT(w->hscroll) = 0;
Fset_marker (w->pointm,
make_number (BUF_PT (XBUFFER (buffer))),
buffer);