]> git.eshelyaron.com Git - emacs.git/commitdiff
(struct scroll_bar, SCROLL_BAR_VEC_SIZE): Use EMACS_INT.
authorRichard M. Stallman <rms@gnu.org>
Sat, 17 Sep 1994 01:00:25 +0000 (01:00 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 17 Sep 1994 01:00:25 +0000 (01:00 +0000)
src/xterm.h

index 001233c0c990ee04211d45172a77f24a7f64d52f..280521a2e127d3503d729d05a2d6032da3453895 100644 (file)
@@ -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.  */