summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-11-02 09:54:02 (GMT)
committernijtmans <nijtmans>2008-11-02 09:54:02 (GMT)
commita475a7d14acbd3887a32eccadc86c2fd199d903f (patch)
treeb014c8108a140f535206360d6933a9d1d81e4d60 /macosx
parent5539be5efd44624e705da40cc44d6feda4207817 (diff)
downloadtk-a475a7d14acbd3887a32eccadc86c2fd199d903f.zip
tk-a475a7d14acbd3887a32eccadc86c2fd199d903f.tar.gz
tk-a475a7d14acbd3887a32eccadc86c2fd199d903f.tar.bz2
more internal -Wwrite-strings warning fixes
Diffstat (limited to 'macosx')
-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);