From 48fb68553ba2d2bc657fee2b04b24acb77b6f028 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Tue, 6 Jul 2010 20:09:30 -0700 Subject: [PATCH] * src/intervals.h (interval): Use EMACS_UINT instead of unsigned EMACS_INT. --- src/ChangeLog | 2 ++ src/intervals.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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 -- 2.39.2