mirror of https://github.com/freetype/freetype
[raster, smooth] Fix some clang sanitizer runtime issues.
* src/raster/ftraster.c (ft_black_reset, ft_black_set_mode, ft_black_render): Harmonize signatures with `ftimage.h'. * src/smooth/ftgrays.c (gray_raster_render, gray_raster_reset): Ditto.
This commit is contained in:
parent
b663307320
commit
e9181aba2c
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2016-03-23 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[raster, smooth] Fix some clang sanitizer runtime issues.
|
||||
|
||||
* src/raster/ftraster.c (ft_black_reset, ft_black_set_mode,
|
||||
ft_black_render): Harmonize signatures with `ftimage.h'.
|
||||
|
||||
* src/smooth/ftgrays.c (gray_raster_render, gray_raster_reset):
|
||||
Ditto.
|
||||
|
||||
2016-03-22 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Minor.
|
||||
|
|
|
@ -3106,9 +3106,9 @@
|
|||
|
||||
|
||||
static void
|
||||
ft_black_reset( black_PRaster raster,
|
||||
char* pool_base,
|
||||
Long pool_size )
|
||||
ft_black_reset( FT_Raster raster,
|
||||
PByte pool_base,
|
||||
ULong pool_size )
|
||||
{
|
||||
FT_UNUSED( raster );
|
||||
FT_UNUSED( pool_base );
|
||||
|
@ -3117,20 +3117,20 @@
|
|||
|
||||
|
||||
static int
|
||||
ft_black_set_mode( black_PRaster raster,
|
||||
ULong mode,
|
||||
const char* palette )
|
||||
ft_black_set_mode( FT_Raster raster,
|
||||
ULong mode,
|
||||
void* args )
|
||||
{
|
||||
FT_UNUSED( raster );
|
||||
FT_UNUSED( mode );
|
||||
FT_UNUSED( palette );
|
||||
FT_UNUSED( args );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
static int
|
||||
ft_black_render( black_PRaster raster,
|
||||
ft_black_render( FT_Raster raster,
|
||||
const FT_Raster_Params* params )
|
||||
{
|
||||
const FT_Outline* outline = (const FT_Outline*)params->source;
|
||||
|
|
|
@ -2025,7 +2025,7 @@ typedef ptrdiff_t FT_PtrDist;
|
|||
|
||||
|
||||
static int
|
||||
gray_raster_render( gray_PRaster raster,
|
||||
gray_raster_render( FT_Raster raster,
|
||||
const FT_Raster_Params* params )
|
||||
{
|
||||
const FT_Outline* outline = (const FT_Outline*)params->source;
|
||||
|
@ -2180,9 +2180,9 @@ typedef ptrdiff_t FT_PtrDist;
|
|||
|
||||
|
||||
static void
|
||||
gray_raster_reset( FT_Raster raster,
|
||||
char* pool_base,
|
||||
long pool_size )
|
||||
gray_raster_reset( FT_Raster raster,
|
||||
unsigned char* pool_base,
|
||||
unsigned long pool_size )
|
||||
{
|
||||
FT_UNUSED( raster );
|
||||
FT_UNUSED( pool_base );
|
||||
|
|
Loading…
Reference in New Issue