From 1479982b699ffd35e7737b7a89fb08e043c0db5e Mon Sep 17 00:00:00 2001 From: patthoyts Date: Sun, 3 Jan 2010 21:21:33 +0000 Subject: cast needed on msvc6 for ushort to char to avoid warning --- generic/tkFont.c | 4 ++-- 1 file 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]; -- cgit v0.12