Warning fixes.
[ruby-evas.git] / src / rb_image.c
index 6efca2853fc81471bc6befeb49532e0b4c241bd4..f4441411fc904693b6c8089f349b938c872fd2f3 100644 (file)
@@ -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);