freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] BUGREPORT: ATARI-PureC-Compiler with FT_SIZEOF_INT=2


From: PORTHOS
Subject: [Devel] BUGREPORT: ATARI-PureC-Compiler with FT_SIZEOF_INT=2
Date: Tue, 17 Sep 2002 08:22:26 +0200

Hallo,

Here comes the next bugreport:

In t1load.c:

  static FT_Error
  parse_dict( T1_Face    face,
              T1_Loader  loader,
              FT_Byte*   base,
              FT_Long    size )
  {
    .
    .
    .
        /* look for immediates */
        else if ( *cur == '/' && cur + 2 < limit )
        {
          FT_Byte*  cur2;
----->          FT_Int    len;

This has to be FT_Long!
          .
          .
          .
          
          len  = (FT_Int)( cur2 - cur );
otherwise this is wrong.
          .
          .
          .
                if ( cur[0] == name[0]                             &&
                     len == (FT_Int)ft_strlen( (const char*)name ) )
                {
----->                  FT_Int  n;
This has to be FT_Long too!




-- 
Mit freundlichen Grüßen,
Wolfgang Domröse
mailto:address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]