mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
Fix pointer signedness glitch
* src/font.c (font_load_for_lface): Use SSDATA, not SDATA.
This commit is contained in:
parent
edd09381c6
commit
43593cb417
1 changed files with 1 additions and 1 deletions
|
|
@ -3346,7 +3346,7 @@ font_load_for_lface (struct frame *f, Lisp_Object *attrs, Lisp_Object spec)
|
|||
name = Ffont_get (spec, QCuser_spec);
|
||||
if (STRINGP (name))
|
||||
{
|
||||
char *p = SDATA (name), *q = strrchr (p, '-');
|
||||
char *p = SSDATA (name), *q = strrchr (p, '-');
|
||||
|
||||
if (q != NULL && c_isdigit (q[1]))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue