diff options
author | Torbjörn Andersson | 2006-05-24 19:51:37 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-05-24 19:51:37 +0000 |
commit | 4a583216fbfd7eee2197bac249c3f62007c2d4e4 (patch) | |
tree | 1f4d29458dd829d0d8f11b386040ec1a18b12a1a /engines/agi/graphics.cpp | |
parent | 8d954b7ae50c0391ba49ceeb26294a21bbe5b77f (diff) | |
download | scummvm-rg350-4a583216fbfd7eee2197bac249c3f62007c2d4e4.tar.gz scummvm-rg350-4a583216fbfd7eee2197bac249c3f62007c2d4e4.tar.bz2 scummvm-rg350-4a583216fbfd7eee2197bac249c3f62007c2d4e4.zip |
Fixed most - not all - GCC warnings.
svn-id: r22614
Diffstat (limited to 'engines/agi/graphics.cpp')
-rw-r--r-- | engines/agi/graphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp index cf3ccc3577..361eff245e 100644 --- a/engines/agi/graphics.cpp +++ b/engines/agi/graphics.cpp @@ -338,7 +338,7 @@ void print_character(int x, int y, char c, int fg, int bg) { * @param a set if the button has focus * @param p set if the button is pressed */ -void draw_button(int x, int y, char *s, int a, int p) { +void draw_button(int x, int y, const char *s, int a, int p) { int len = strlen(s); int x1, y1, x2, y2; @@ -360,7 +360,7 @@ void draw_button(int x, int y, char *s, int a, int p) { flush_block(x1, y1, x2, y2); } -int test_button(int x, int y, char *s) { +int test_button(int x, int y, const char *s) { int len = strlen(s); int x1, y1, x2, y2; |