Add cast in pcfread.c.

This commit is contained in:
Werner Lemberg 2001-06-22 17:08:26 +00:00
parent 0c6c5ba972
commit 7e4140d0e7
2 changed files with 6 additions and 5 deletions

View File

@ -1,8 +1,7 @@
2001-06-22 David Turner <david@freetype.org>
2001-06-22 David Turner <david@freetype.org>
* 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 <wl@gnu.org>
@ -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 <david@freetype.org>
* builds/win32/visualc/freetype.dsp, builds/win32/visualc/index.html:

View File

@ -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 ) +