[MPlayer-cvslog] r33431 - trunk/sub/font_load_ft.c
reimar
subversion at mplayerhq.hu
Sat May 7 22:55:21 CEST 2011
Author: reimar
Date: Sat May 7 22:55:21 2011
New Revision: 33431
Log:
Add some "const" to avoid compiler warnings.
Modified:
trunk/sub/font_load_ft.c
Modified: trunk/sub/font_load_ft.c
==============================================================================
--- trunk/sub/font_load_ft.c Sat May 7 22:51:59 2011 (r33430)
+++ trunk/sub/font_load_ft.c Sat May 7 22:55:21 2011 (r33431)
@@ -132,7 +132,7 @@ static void paste_bitmap(unsigned char *
static int check_font(font_desc_t *desc, float ppem, int padding, int pic_idx,
- int charset_size, FT_ULong *charset, FT_ULong *charcodes,
+ int charset_size, const FT_ULong *charset, const FT_ULong *charcodes,
int unicode) {
FT_Error error;
FT_Face face = desc->faces[pic_idx];
@@ -613,7 +613,7 @@ void render_one_glyph(font_desc_t *desc,
static int prepare_font(font_desc_t *desc, FT_Face face, float ppem, int pic_idx,
- int charset_size, FT_ULong *charset, FT_ULong *charcodes, int unicode,
+ int charset_size, const FT_ULong *charset, const FT_ULong *charcodes, int unicode,
double thickness, double radius)
{
int i, err;
More information about the MPlayer-cvslog
mailing list