1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 09:00:31 -08:00

* src/intervals.h (interval): Use EMACS_UINT instead of unsigned EMACS_INT.

This commit is contained in:
Dan Nicolaescu 2010-07-06 20:09:30 -07:00
parent 9715a0b909
commit 48fb68553b
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,7 @@
2010-07-07 Dan Nicolaescu <dann@ics.uci.edu>
* intervals.h (interval): Use EMACS_UINT instead of unsigned EMACS_INT.
Make the function member of Lisp_Subr use standard C prototypes.
* lisp.h (struct Lisp_Subr): Use a union for the function member.
(DECL_ALIGN): Add a cast for the function.

View file

@ -28,8 +28,8 @@ struct interval
{
/* The first group of entries deal with the tree structure. */
unsigned EMACS_INT total_length; /* Length of myself and both children. */
unsigned EMACS_INT position; /* Cache of interval's character position. */
EMACS_UINT total_length; /* Length of myself and both children. */
EMACS_UINT position; /* Cache of interval's character position. */
/* This field is usually updated
simultaneously with an interval
traversal, there is no guarantee