Mercurial > mplayer.hg
changeset 33344:57d944b1a732
Add some "const" to avoid compiler warnings.
author | reimar |
---|---|
date | Sat, 07 May 2011 20:55:21 +0000 |
parents | 847e0d6aa196 |
children | c6b4a486c108 |
files | sub/font_load_ft.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/sub/font_load_ft.c Sat May 07 20:51:59 2011 +0000 +++ b/sub/font_load_ft.c Sat May 07 20:55:21 2011 +0000 @@ -132,7 +132,7 @@ 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 @@ 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;