From: Paul Eggert Date: Fri, 21 Mar 2014 00:10:29 +0000 (-0700) Subject: Backport doc.c fix from trunk. X-Git-Tag: emacs-24.3.90~136 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1271626ab5d345cdfcd9aca1c528f6ed6152ef96;p=emacs.git Backport doc.c fix from trunk. * doc.c (store_function_docstring): Fix pointer signedness mismatch. --- diff --git a/src/ChangeLog b/src/ChangeLog index f67923bf417..d2572e74048 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-03-20 Paul Eggert + + * doc.c (store_function_docstring): Fix pointer signedness mismatch. + 2014-03-20 Stefan Monnier * doc.c (store_function_docstring): Warn when we don't know where to diff --git a/src/doc.c b/src/doc.c index 7e693165c6f..b6a4cd0a27b 100644 --- a/src/doc.c +++ b/src/doc.c @@ -537,7 +537,7 @@ store_function_docstring (Lisp_Object obj, ptrdiff_t offset) ASET (fun, COMPILED_DOC_STRING, make_number (offset)); else message ("No docstring slot for %s", - SYMBOLP (obj) ? SDATA (SYMBOL_NAME (obj)) : ""); + SYMBOLP (obj) ? SSDATA (SYMBOL_NAME (obj)) : ""); } }