summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXFont.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-11-02 09:54:02 (GMT)
committernijtmans <nijtmans>2008-11-02 09:54:02 (GMT)
commit3f4d370ae15172753a938aad0c06ab185d04c1f1 (patch)
treeb014c8108a140f535206360d6933a9d1d81e4d60 /macosx/tkMacOSXFont.c
parent29597ea689d5780ba013bc4c4d5035bd015a295b (diff)
downloadtk-3f4d370ae15172753a938aad0c06ab185d04c1f1.zip
tk-3f4d370ae15172753a938aad0c06ab185d04c1f1.tar.gz
tk-3f4d370ae15172753a938aad0c06ab185d04c1f1.tar.bz2
more internal -Wwrite-strings warning fixes
Diffstat (limited to 'macosx/tkMacOSXFont.c')
-rw-r--r--macosx/tkMacOSXFont.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c
index 1d4b357..921cf93 100644
--- a/macosx/tkMacOSXFont.c
+++ b/macosx/tkMacOSXFont.c
@@ -35,7 +35,7 @@
* that such fonts can not be used for controls, because controls
* definitely require a family id (this assertion needs testing).
*
- * RCS: @(#) $Id: tkMacOSXFont.c,v 1.39 2008/08/19 00:17:44 das Exp $
+ * RCS: @(#) $Id: tkMacOSXFont.c,v 1.40 2008/11/02 09:54:02 nijtmans Exp $
*/
#include "tkMacOSXPrivate.h"
@@ -1930,7 +1930,7 @@ FindFontFamilyOrAlias(
const char *name) /* Name or alias name of the font to find. */
{
const MacFontFamily * familyPtr;
- char ** aliases;
+ const char *const * aliases;
int i;
familyPtr = FindFontFamily(name);
@@ -1956,7 +1956,7 @@ FindFontFamilyOrAliasOrFallback(
{
const MacFontFamily * familyPtr;
const char * fallback;
- char *** fallbacks;
+ const char *const *const * fallbacks;
int i, j;
familyPtr = FindFontFamilyOrAlias(name);