From: Dan Nicolaescu Date: Wed, 7 Jul 2010 03:09:30 +0000 (-0700) Subject: * src/intervals.h (interval): Use EMACS_UINT instead of unsigned EMACS_INT. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~51^2~81^2~15 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=48fb68553ba2d2bc657fee2b04b24acb77b6f028;p=emacs.git * src/intervals.h (interval): Use EMACS_UINT instead of unsigned EMACS_INT. --- diff --git a/src/ChangeLog b/src/ChangeLog index 05b231fffa2..7f2f664cc07 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2010-07-07 Dan Nicolaescu + * 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. diff --git a/src/intervals.h b/src/intervals.h index cdb24418587..612c1a99848 100644 --- a/src/intervals.h +++ b/src/intervals.h @@ -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