diff options
| author | Paul Eggert | 2012-04-09 16:21:20 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-04-09 16:21:20 -0700 |
| commit | e4ecdc9c71af4199129d5dd2db1a32ff6b725fe4 (patch) | |
| tree | afb0c17eaebee78b917acf498b95bd9a02c7cd4e /src | |
| parent | 45e9f7da84c1bd3fc0d36d05c5708ed3b2d3a193 (diff) | |
| download | emacs-e4ecdc9c71af4199129d5dd2db1a32ff6b725fe4.tar.gz emacs-e4ecdc9c71af4199129d5dd2db1a32ff6b725fe4.zip | |
* syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Use PTRDIFF_MAX, not MOST_POSITIVE_FIXNUM.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/syntax.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3bc8900f01f..71fb5d9ab2a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -626,6 +626,8 @@ | |||
| 626 | * syntax.h: Adjust decls to match defn changes elsewhere. | 626 | * syntax.h: Adjust decls to match defn changes elsewhere. |
| 627 | (struct gl_state_s): | 627 | (struct gl_state_s): |
| 628 | Use ptrdiff_t, not EMACS_INT, where ptrdiff_t is wide enough. | 628 | Use ptrdiff_t, not EMACS_INT, where ptrdiff_t is wide enough. |
| 629 | (SETUP_SYNTAX_TABLE_FOR_OBJECT): Use PTRDIFF_MAX, not | ||
| 630 | MOST_POSITIVE_FIXNUM. | ||
| 629 | * sysdep.c (wait_for_termination_1, wait_for_termination) | 631 | * sysdep.c (wait_for_termination_1, wait_for_termination) |
| 630 | (interruptible_wait_for_termination, mkdir): | 632 | (interruptible_wait_for_termination, mkdir): |
| 631 | Don't assume pid_t fits in int; on 64-bit AIX pid_t is 64-bit. | 633 | Don't assume pid_t fits in int; on 64-bit AIX pid_t is 64-bit. |
diff --git a/src/syntax.h b/src/syntax.h index 3f5e6a63e25..6edb1585795 100644 --- a/src/syntax.h +++ b/src/syntax.h | |||
| @@ -258,7 +258,7 @@ do \ | |||
| 258 | else if (EQ (gl_state.object, Qt)) \ | 258 | else if (EQ (gl_state.object, Qt)) \ |
| 259 | { \ | 259 | { \ |
| 260 | gl_state.b_property = 0; \ | 260 | gl_state.b_property = 0; \ |
| 261 | gl_state.e_property = MOST_POSITIVE_FIXNUM; \ | 261 | gl_state.e_property = PTRDIFF_MAX; \ |
| 262 | gl_state.offset = 0; \ | 262 | gl_state.offset = 0; \ |
| 263 | } \ | 263 | } \ |
| 264 | else \ | 264 | else \ |