* doc.c (store_function_docstring): Fix pointer signedness mismatch.

This commit is contained in:
Paul Eggert 2014-03-20 10:42:05 -07:00
parent 494ec1e71d
commit 0df098bfd1
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-03-20 Paul Eggert <eggert@cs.ucla.edu>
* doc.c (store_function_docstring): Fix pointer signedness mismatch.
2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
* doc.c (store_function_docstring): Warn when we don't know where to

View file

@ -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)) : "<anonymous>");
SYMBOLP (obj) ? SSDATA (SYMBOL_NAME (obj)) : "<anonymous>");
}
}