aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog2
-rw-r--r--src/intervals.h4
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 @@
12010-07-07 Dan Nicolaescu <dann@ics.uci.edu> 12010-07-07 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * intervals.h (interval): Use EMACS_UINT instead of unsigned EMACS_INT.
4
3 Make the function member of Lisp_Subr use standard C prototypes. 5 Make the function member of Lisp_Subr use standard C prototypes.
4 * lisp.h (struct Lisp_Subr): Use a union for the function member. 6 * lisp.h (struct Lisp_Subr): Use a union for the function member.
5 (DECL_ALIGN): Add a cast for the function. 7 (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
28{ 28{
29 /* The first group of entries deal with the tree structure. */ 29 /* The first group of entries deal with the tree structure. */
30 30
31 unsigned EMACS_INT total_length; /* Length of myself and both children. */ 31 EMACS_UINT total_length; /* Length of myself and both children. */
32 unsigned EMACS_INT position; /* Cache of interval's character position. */ 32 EMACS_UINT position; /* Cache of interval's character position. */
33 /* This field is usually updated 33 /* This field is usually updated
34 simultaneously with an interval 34 simultaneously with an interval
35 traversal, there is no guarantee 35 traversal, there is no guarantee