aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fontset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fontset.c b/src/fontset.c
index 2f2b221d782..fbf3e09bf0b 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -370,8 +370,8 @@ font_family_registry (fontname, force)
370 int force; 370 int force;
371{ 371{
372 Lisp_Object family, registry; 372 Lisp_Object family, registry;
373 char *p = SDATA (fontname); 373 const char *p = SDATA (fontname);
374 char *sep[15]; 374 const char *sep[15];
375 int i = 0; 375 int i = 0;
376 376
377 while (*p && i < 15) 377 while (*p && i < 15)
@@ -782,7 +782,7 @@ fs_query_fontset (name, regexpp)
782 for (i = 0; i < ASIZE (Vfontset_table); i++) 782 for (i = 0; i < ASIZE (Vfontset_table); i++)
783 { 783 {
784 Lisp_Object fontset; 784 Lisp_Object fontset;
785 unsigned char *this_name; 785 const unsigned char *this_name;
786 786
787 fontset = FONTSET_FROM_ID (i); 787 fontset = FONTSET_FROM_ID (i);
788 if (NILP (fontset) 788 if (NILP (fontset)
@@ -847,7 +847,7 @@ list_fontsets (f, pattern, size)
847 for (id = 0; id < ASIZE (Vfontset_table); id++) 847 for (id = 0; id < ASIZE (Vfontset_table); id++)
848 { 848 {
849 Lisp_Object fontset; 849 Lisp_Object fontset;
850 unsigned char *name; 850 const unsigned char *name;
851 851
852 fontset = FONTSET_FROM_ID (id); 852 fontset = FONTSET_FROM_ID (id);
853 if (NILP (fontset) 853 if (NILP (fontset)