1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From: Markus Koschany <apo@debian.org>
Date: Thu, 8 Nov 2012 17:50:07 +0100
Subject: Fix conflicting types for drawtext declaration
The variable drawtext uses different types of declaration. Change it
to const char *.
---
etw/include/menu_externs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/etw/include/menu_externs.h b/etw/include/menu_externs.h
index b99374b..cc563ac 100644
--- a/etw/include/menu_externs.h
+++ b/etw/include/menu_externs.h
@@ -154,7 +154,7 @@ void bltanimobj(struct MChunky *, uint8_t *, int, int, int);
void rectfill_pattern(uint8_t * b, int x1, int y1, int x2, int y2, unsigned char color, int width);
void rectfill(uint8_t * b, int x1, int y1, int x2, int y2, unsigned char color, int width);
void bitmapScale(struct MyScaleArgs *);
-int drawtext(char *, int, int, int, int);
+int drawtext(const char *, int, int, int, int);
void setfont(struct myfont *);
struct myfont *openfont(char *);
void closefont(struct myfont *);
|