summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-09-17 01:00:25 +0000
committerRichard M. Stallman <rms@gnu.org>1994-09-17 01:00:25 +0000
commit820b2ca25c066f83dc36e9924f65038e4f77ce50 (patch)
tree8b8000242e14f5f2fc8766b9f992b0c329e2d18e /src/xterm.h
parentb061d5f1ee381550f844843d02cae9afbe2199b4 (diff)
downloademacs-820b2ca25c066f83dc36e9924f65038e4f77ce50.tar.gz
(struct scroll_bar, SCROLL_BAR_VEC_SIZE): Use EMACS_INT.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 001233c0c99..280521a2e12 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -454,7 +454,7 @@ extern struct face *x_face_table[];
struct scroll_bar {
/* These fields are shared by all vectors. */
- int size_from_Lisp_Vector_struct;
+ EMACS_INT size_from_Lisp_Vector_struct;
struct Lisp_Vector *next_from_Lisp_Vector_struct;
/* The window we're a scroll bar for. */
@@ -493,7 +493,7 @@ struct scroll_bar {
/* The number of elements a vector holding a struct scroll_bar needs. */
#define SCROLL_BAR_VEC_SIZE \
- ((sizeof (struct scroll_bar) - sizeof (int) - sizeof (struct Lisp_Vector *)) \
+ ((sizeof (struct scroll_bar) - sizeof (EMACS_INT) - sizeof (struct Lisp_Vector *)) \
/ sizeof (Lisp_Object))
/* Turning a lisp vector value into a pointer to a struct scroll_bar. */