From: Tony Cook Date: Fri, 17 Feb 2006 12:39:15 +0000 (+0000) Subject: - make win32.c const happy X-Git-Tag: Imager-0.48^2~8 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/cf7837ee3a45df79e3b9f7cf8114bab3e6337279 - make win32.c const happy - make raw.c C89 compliant --- diff --git a/imager.h b/imager.h index 1b32b341..5991268c 100644 --- a/imager.h +++ b/imager.h @@ -274,11 +274,11 @@ i_ft2_set_mm_coords(FT2_Fonthandle *handle, int coord_count, const long *coords) #ifdef WIN32 -extern int i_wf_bbox(char *face, int size, const char *text, int length, int *bbox); +extern int i_wf_bbox(const char *face, int size, const char *text, int length, int *bbox); extern int i_wf_text(const char *face, i_img *im, int tx, int ty, const i_color *cl, int size, const char *text, int len, int align, int aa); extern int i_wf_cp(const char *face, i_img *im, int tx, int ty, int channel, - int size, char *text, int len, int align, int aa); + int size, const char *text, int len, int align, int aa); extern int i_wf_addfont(char const *file); #endif