diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2010-07-06 20:09:30 -0700 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2010-07-06 20:09:30 -0700 |
commit | 48fb68553ba2d2bc657fee2b04b24acb77b6f028 (patch) | |
tree | 9354ee87f5c5e7185a0dbb99399ee03662a3cd86 /src | |
parent | 9715a0b909f38bcf322d697bcdf56f6744c9584d (diff) | |
download | emacs-48fb68553ba2d2bc657fee2b04b24acb77b6f028.tar.gz |
* src/intervals.h (interval): Use EMACS_UINT instead of unsigned EMACS_INT.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 2 | ||||
-rw-r--r-- | 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 <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. 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 |