summaryrefslogtreecommitdiffstats
path: root/generic/tkFont.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-01-03 21:21:33 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-01-03 21:21:33 (GMT)
commit1479982b699ffd35e7737b7a89fb08e043c0db5e (patch)
tree07b4349b66d0aae6090144a6412eccdaa2462ea6 /generic/tkFont.c
parent1695610f2b000063acc70451fe91fae47c911150 (diff)
downloadtk-1479982b699ffd35e7737b7a89fb08e043c0db5e.zip
tk-1479982b699ffd35e7737b7a89fb08e043c0db5e.tar.gz
tk-1479982b699ffd35e7737b7a89fb08e043c0db5e.tar.bz2
cast needed on msvc6 for ushort to char to avoid warning
Diffstat (limited to 'generic/tkFont.c')
-rw-r--r--generic/tkFont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c
index 76895e3..56018af 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkFont.c,v 1.63 2010/01/03 16:24:13 dkf Exp $
+ * RCS: @(#) $Id: tkFont.c,v 1.64 2010/01/03 21:21:33 patthoyts Exp $
*/
#include "tkInt.h"
@@ -3295,7 +3295,7 @@ Tk_TextLayoutToPostscript(
* Normal ASCII character.
*/
- buf[used++] = ch;
+ buf[used++] = (char) ch;
} else {
char uindex[5];