# HG changeset patch # User reimar # Date 1304801721 0 # Node ID 57d944b1a7322c1555101f9e0ef6e5e016933879 # Parent 847e0d6aa19644eb188841c0301ca881393d907d Add some "const" to avoid compiler warnings. diff -r 847e0d6aa196 -r 57d944b1a732 sub/font_load_ft.c --- 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;