From: Tilman Sauerbeck Date: Thu, 5 Apr 2007 16:03:41 +0000 (+0200) Subject: Warning fixes. X-Git-Url: http://git.code-monkey.de/?p=ruby-evas.git;a=commitdiff_plain;h=aab8e36e0b44c2e7d5eccefca386e937f256e885 Warning fixes. --- 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);