summaryrefslogtreecommitdiff
path: root/ext/bigdecimal/bigdecimal.c
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-17 17:38:18 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-17 17:38:18 +0000
commitb7a693da8e0d0e514d630d45cb1644d91bd3ba07 (patch)
treef17c3676d04b61891149676a3eeb547c978c4b52 /ext/bigdecimal/bigdecimal.c
parentf107d1e7066fdfa6360bf4aa9986f519dcd3f175 (diff)
* ext/bigdecimal/bigdecimal.c (VpNewRbClass): fix type of the 2nd
argument. * ext/bigdecimal/bigdecimal.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/bigdecimal/bigdecimal.c')
-rw-r--r--ext/bigdecimal/bigdecimal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index 4fc22b5..9e22dc5 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -487,7 +487,7 @@ GetPositiveInt(VALUE v)
}
VP_EXPORT Real *
-VpNewRbClass(size_t mx, char *str, VALUE klass)
+VpNewRbClass(size_t mx, const char *str, VALUE klass)
{
Real *pv = VpAlloc(mx,str);
pv->obj = TypedData_Wrap_Struct(klass, &BigDecimal_data_type, pv);