]> git.imager.perl.org - imager.git/commitdiff
- make win32.c const happy
authorTony Cook <tony@develop=help.com>
Fri, 17 Feb 2006 12:39:15 +0000 (12:39 +0000)
committerTony Cook <tony@develop=help.com>
Fri, 17 Feb 2006 12:39:15 +0000 (12:39 +0000)
- make raw.c C89 compliant

imager.h

index 1b32b341f8e6c066e8812784c9b42a9e8707922b..5991268ce7f8052b63416ec8b1287fca797bf149 100644 (file)
--- 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