Typos in previous commit.
This commit is contained in:
parent
a50c39aa8e
commit
6e253b26b2
|
@ -758,7 +758,7 @@
|
||||||
error = FT_Err_Ok;
|
error = FT_Err_Ok;
|
||||||
|
|
||||||
Exit:
|
Exit:
|
||||||
*data_written = FT_ULong( d - data );
|
*data_written = (FT_ULong)( d - data );
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3308,9 +3308,9 @@
|
||||||
dist.distance = square_root( dist.distance );
|
dist.distance = square_root( dist.distance );
|
||||||
|
|
||||||
if ( internal_params.flip_y )
|
if ( internal_params.flip_y )
|
||||||
index = FT_UInt( y * width + x );
|
index = (FT_UInt)( y * width + x );
|
||||||
else
|
else
|
||||||
index = FT_UInt( ( rows - y - 1 ) * width + x );
|
index = (FT_UInt)( ( rows - y - 1 ) * width + x );
|
||||||
|
|
||||||
/* check whether the pixel is set or not */
|
/* check whether the pixel is set or not */
|
||||||
if ( dists[index].sign == 0 )
|
if ( dists[index].sign == 0 )
|
||||||
|
|
Loading…
Reference in New Issue