aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvektor <devnull@localhost>2005-09-08 01:29:40 (GMT)
committervektor <devnull@localhost>2005-09-08 01:29:40 (GMT)
commit301b7400ca25745066eaffb7ebeb82a2494e84fb (patch)
treec395d5363919cdf2ec01db289269de6d4576ada4
parent56ffc42c4455ff2aadf41735ac14ee5b23cfdff3 (diff)
* tvtime/src/leetft.c: Fix some silly compiler warnings.
-rw-r--r--src/leetft.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/leetft.c b/src/leetft.c
index 2075084..efe6dd1 100644
--- a/src/leetft.c
+++ b/src/leetft.c
@@ -77,20 +77,20 @@ static int ft_cache_glyph( ft_font_t *font, wchar_t wchar,
}
error = FT_Load_Glyph( font->face, glyph_index, FT_LOAD_NO_HINTING );
if( error ) {
- fprintf( stderr, "leetft: Can't load glyph %ld\n", wchar );
+ fprintf( stderr, "leetft: Can't load glyph %ld\n", (long int) wchar );
return 0;
}
error = FT_Get_Glyph( font->face->glyph, &cur->glyph );
if( error ) {
fprintf( stderr, "leetft: FT_Get_Glyph failure for glyph %ld\n",
- wchar );
+ (long int) wchar );
return 0;
}
error = FT_Glyph_Copy( cur->glyph, &cur->bitmap );
if( error ) {
- fprintf( stderr, "leetft: Can't copy glyph %ld\n", wchar );
+ fprintf( stderr, "leetft: Can't copy glyph %ld\n", (long int) wchar );
FT_Done_Glyph( cur->glyph );
hashtable_delete( font->glyphdata, wchar );
return 0;
@@ -98,7 +98,7 @@ static int ft_cache_glyph( ft_font_t *font, wchar_t wchar,
error = FT_Glyph_To_Bitmap( &cur->bitmap, ft_render_mode_normal, 0, 1 );
if( error ) {
- fprintf( stderr, "leetft: Can't render glyph %ld\n", wchar );
+ fprintf( stderr, "leetft: Can't render glyph %ld\n", (long int) wchar );
FT_Done_Glyph( cur->glyph );
FT_Done_Glyph( cur->bitmap );
hashtable_delete( font->glyphdata, wchar );

Privacy Policy