]> git.eshelyaron.com Git - emacs.git/commitdiff
* syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Use PTRDIFF_MAX, not MOST_POSITIVE_FIXNUM.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 9 Apr 2012 23:21:20 +0000 (16:21 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 9 Apr 2012 23:21:20 +0000 (16:21 -0700)
src/ChangeLog
src/syntax.h

index 3bc8900f01f2961c5935c9ce4ec0cad091d723d1..71fb5d9ab2ae5d8599a2c87a09f4741606fb8b26 100644 (file)
        * 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.
index 3f5e6a63e253886748658cf041b32baa579f423d..6edb1585795bb09dab121286cf48d7f2bad7df9a 100644 (file)
@@ -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                                                               \