changeset 8837:a48847852901

(struct scroll_bar, SCROLL_BAR_VEC_SIZE): Use EMACS_INT.
author Richard M. Stallman <rms@gnu.org>
date Sat, 17 Sep 1994 01:00:25 +0000
parents 2afe507ed505
children 3f629c277e6b
files src/xterm.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.h	Sat Sep 17 00:59:56 1994 +0000
+++ b/src/xterm.h	Sat Sep 17 01:00:25 1994 +0000
@@ -454,7 +454,7 @@
 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 @@
 
 /* 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.  */