From aab8e36e0b44c2e7d5eccefca386e937f256e885 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Thu, 5 Apr 2007 18:03:41 +0200 Subject: [PATCH] Warning fixes. --- src/rb_image.c | 2 +- src/rb_text.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rb_image.c b/src/rb_image.c index 6efca28..f444141 100644 --- a/src/rb_image.c +++ b/src/rb_image.c @@ -54,7 +54,7 @@ static VALUE c_init (VALUE self, VALUE evas) */ static VALUE c_get_file (VALUE self) { - char *file = NULL, *key = NULL; + const char *file = NULL, *key = NULL; GET_OBJ (self, RbEvasObject, e); diff --git a/src/rb_text.c b/src/rb_text.c index 512e07a..0c78d86 100644 --- a/src/rb_text.c +++ b/src/rb_text.c @@ -115,7 +115,7 @@ static VALUE c_font_source_set (VALUE self, VALUE val) */ static VALUE c_get_font (VALUE self) { - char *font = NULL; + const char *font = NULL; Evas_Font_Size size = 0; GET_OBJ (self, RbEvasObject, e); -- 2.30.2