From: Paul Eggert Date: Mon, 9 Apr 2012 23:21:20 +0000 (-0700) Subject: * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Use PTRDIFF_MAX, not MOST_POSITIVE_FIXNUM. X-Git-Tag: emacs-24.2.90~471^2~6^2~116 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e4ecdc9c71af4199129d5dd2db1a32ff6b725fe4;p=emacs.git * syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Use PTRDIFF_MAX, not MOST_POSITIVE_FIXNUM. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3bc8900f01f..71fb5d9ab2a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -626,6 +626,8 @@ * syntax.h: Adjust decls to match defn changes elsewhere. (struct gl_state_s): Use ptrdiff_t, not EMACS_INT, where ptrdiff_t is wide enough. + (SETUP_SYNTAX_TABLE_FOR_OBJECT): Use PTRDIFF_MAX, not + MOST_POSITIVE_FIXNUM. * sysdep.c (wait_for_termination_1, wait_for_termination) (interruptible_wait_for_termination, mkdir): 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 \ else if (EQ (gl_state.object, Qt)) \ { \ gl_state.b_property = 0; \ - gl_state.e_property = MOST_POSITIVE_FIXNUM; \ + gl_state.e_property = PTRDIFF_MAX; \ gl_state.offset = 0; \ } \ else \