summaryrefslogtreecommitdiff
path: root/ext/gdbm
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-29 11:37:47 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-09-29 11:37:47 +0000
commitce515f5c8fbf5a06dc9e0ff8706e913a2ff9154b (patch)
tree570e6b0f2afc8b5ddd3827e0b36124b5cfce10de /ext/gdbm
parent71d110252507b2f720743b930628c971c3201198 (diff)
* ext/gdbm/gdbm.c (rb_gdbm_fatal): adjust argument type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/gdbm')
-rw-r--r--ext/gdbm/gdbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gdbm/gdbm.c b/ext/gdbm/gdbm.c
index 6f0c14d..2b4ebfd 100644
--- a/ext/gdbm/gdbm.c
+++ b/ext/gdbm/gdbm.c
@@ -78,7 +78,7 @@ static VALUE rb_cGDBM, rb_eGDBMError, rb_eGDBMFatalError;
#define MY_BLOCK_SIZE (2048)
#define MY_FATAL_FUNC rb_gdbm_fatal
static void
-rb_gdbm_fatal(char *msg)
+rb_gdbm_fatal(const char *msg)
{
rb_raise(rb_eGDBMFatalError, "%s", msg);
}