lisp.h: Fix a problem with aliasing and vector headers.
[bpt/emacs.git] / src / fringe.c
index bc6b493..e910152 100644 (file)
@@ -1531,7 +1531,7 @@ If BITMAP already exists, the existing definition is replaced.  */)
   if (STRINGP (bits))
     h = SCHARS (bits);
   else if (VECTORP (bits))
-    h = XVECTOR (bits)->size;
+    h = XVECTOR_SIZE (bits);
   else
     wrong_type_argument (Qsequencep, bits);