From 6b51e31a7f18e33ec8d03d63e1c8427ce0be8a9d Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Fri, 23 Mar 2007 12:04:01 +0100 Subject: [PATCH] Use const char* instead of char* where necessary. --- ext/ext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/ext.c b/ext/ext.c index 2fa47a9..4a572c2 100644 --- a/ext/ext.c +++ b/ext/ext.c @@ -187,7 +187,7 @@ c_close (VALUE self) } static VALUE -get_keys (Eet_File *ef, char *glob) +get_keys (Eet_File *ef, const char *glob) { VALUE ret; char **keys; @@ -598,7 +598,7 @@ static VALUE int_to_eet_chunks (int argc, VALUE *argv, VALUE self) { VALUE tag, type = Qnil, ary, args[2], chunk; - char *cfmt = "V"; + const char *cfmt = "V"; rb_scan_args (argc, argv, "11", &tag, &type); -- 2.30.2