diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-29 10:56:27 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-04-29 10:56:27 -0700 |
commit | d01a78266d12561b46777a2156914d12d8099c4f (patch) | |
tree | 3fa5ec64d44faeca79a6fe89b88362cda723fdff /src/doc.c | |
parent | 7fd47d5ce2020a22f8db9776e8d1f47891b966dc (diff) | |
download | emacs-d01a78266d12561b46777a2156914d12d8099c4f.tar.gz |
* lisp.h (EMACS_INTPTR): Remove. All uses changed to intptr_t.
(EMACS_UINTPTR): Likewise, with uintptr_t.
Diffstat (limited to 'src/doc.c')
-rw-r--r-- | src/doc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc.c b/src/doc.c index 740bb26ff08..d764b66e75e 100644 --- a/src/doc.c +++ b/src/doc.c @@ -349,10 +349,10 @@ string is passed through `substitute-command-keys'. */) return Qnil; /* FIXME: This is not portable, as it assumes that string pointers have the top bit clear. */ - else if ((EMACS_INTPTR) XSUBR (fun)->doc >= 0) + else if ((intptr_t) XSUBR (fun)->doc >= 0) doc = build_string (XSUBR (fun)->doc); else - doc = make_number ((EMACS_INTPTR) XSUBR (fun)->doc); + doc = make_number ((intptr_t) XSUBR (fun)->doc); } else if (COMPILEDP (fun)) { @@ -508,7 +508,7 @@ store_function_docstring (Lisp_Object fun, EMACS_INT offset) /* Lisp_Subrs have a slot for it. */ if (SUBRP (fun)) { - EMACS_INTPTR negative_offset = - offset; + intptr_t negative_offset = - offset; XSUBR (fun)->doc = (char *) negative_offset; } |