freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] Typos in previous commit.


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] Typos in previous commit.
Date: Sat, 29 May 2021 09:07:38 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

2 changed files:

Changes:

  • src/cid/cidload.c
    ... ... @@ -758,7 +758,7 @@
    758 758
         error = FT_Err_Ok;
    
    759 759
     
    
    760 760
       Exit:
    
    761
    -    *data_written = FT_ULong( d - data );
    
    761
    +    *data_written = (FT_ULong)( d - data );
    
    762 762
         return error;
    
    763 763
       }
    
    764 764
     
    

  • src/sdf/ftsdf.c
    ... ... @@ -3308,9 +3308,9 @@
    3308 3308
                   dist.distance = square_root( dist.distance );
    
    3309 3309
     
    
    3310 3310
                 if ( internal_params.flip_y )
    
    3311
    -              index = FT_UInt( y * width + x );
    
    3311
    +              index = (FT_UInt)( y * width + x );
    
    3312 3312
                 else
    
    3313
    -              index = FT_UInt( ( rows - y - 1 ) * width + x );
    
    3313
    +              index = (FT_UInt)( ( rows - y - 1 ) * width + x );
    
    3314 3314
     
    
    3315 3315
                 /* check whether the pixel is set or not */
    
    3316 3316
                 if ( dists[index].sign == 0 )
    


  • reply via email to

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