From 0fe9763135c1c3ee489bd5106f5c8dbc5967886b Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Fri, 22 Jun 2001 17:08:26 +0000 Subject: [PATCH] Add cast in pcfread.c. --- ChangeLog | 9 +++++---- src/pcf/pcfread.c | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index bef069a6d..280a62f76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,7 @@ -2001-06-22 David Turner +2001-06-22 David Turner - * docs/PATENTS: added patents disclaimer. This one was missing !! - - * docs/CHANGES, docs/todo: updated for the upcoming 2.0.4 release + * docs/PATENTS: Added patents disclaimer. This one was missing! + * docs/CHANGES, docs/todo: Updated for the upcoming 2.0.4 release. 2001-06-20 Werner Lemberg @@ -17,6 +16,8 @@ easier to redefine. * include/freetype/ftimage.h (FT_IMAGE_TAG): Ditto. + * src/pcf/pcfread.c (pcf_get_encodings): Add cast. + 2001-06-19 David Turner * builds/win32/visualc/freetype.dsp, builds/win32/visualc/index.html: diff --git a/src/pcf/pcfread.c b/src/pcf/pcfread.c index 5f8269d2f..06ecfab22 100644 --- a/src/pcf/pcfread.c +++ b/src/pcf/pcfread.c @@ -717,7 +717,7 @@ THE SOFTWARE. else encodingOffset = GET_ShortLE(); - if ( encodingOffset != 0xFFFF ) + if ( encodingOffset != (signed short)0xFFFF ) { tmpEncoding[j].enc = ( ( ( i / ( lastCol - firstCol + 1 ) ) + firstRow ) * 256 ) +