aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
authorPaul Eggert2011-07-04 20:09:36 -0700
committerPaul Eggert2011-07-04 20:09:36 -0700
commit6089c5670b18a02fc2caca3e665d2bb7799dc4c8 (patch)
tree16b5f9dc30401413bead09c0005415d6c081adb0 /src/lisp.h
parentd8ed26bd07abb23acc9c1879776f5afc44ed4874 (diff)
downloademacs-6089c5670b18a02fc2caca3e665d2bb7799dc4c8.tar.gz
emacs-6089c5670b18a02fc2caca3e665d2bb7799dc4c8.zip
* lisp.h (struct vectorlike_header, struct Lisp_Subr): Signed sizes.
Use EMACS_INT, not EMACS_UINT, for sizes. The code works equally well either way, and we prefer signed to unsigned.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 762d34abb9c..2835302947f 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -833,7 +833,7 @@ struct Lisp_String
833 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8546>. */ 833 <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8546>. */
834struct vectorlike_header 834struct vectorlike_header
835 { 835 {
836 EMACS_UINT size; 836 EMACS_INT size;
837 837
838 /* Pointer to the next vector-like object. It is generally a buffer or a 838 /* Pointer to the next vector-like object. It is generally a buffer or a
839 Lisp_Vector alias, so for convenience it is a union instead of a 839 Lisp_Vector alias, so for convenience it is a union instead of a
@@ -1028,7 +1028,7 @@ struct Lisp_Bool_Vector
1028 1028
1029struct Lisp_Subr 1029struct Lisp_Subr
1030 { 1030 {
1031 EMACS_UINT size; 1031 EMACS_INT size;
1032 union { 1032 union {
1033 Lisp_Object (*a0) (void); 1033 Lisp_Object (*a0) (void);
1034 Lisp_Object (*a1) (Lisp_Object); 1034 Lisp_Object (*a1) (Lisp_Object);