summaryrefslogtreecommitdiffhomepage
path: root/src/numeric.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-09 08:49:38 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-09 08:49:38 +0900
commitf4cf8ea423d8f9df1d341adba63d1416779aae8a (patch)
treeee89b697760d7b528d4767c4ccd1534dadf42bc0 /src/numeric.c
parent2e4e7f7cd15e8ccd6bc6bf8608e0f167f68e2a22 (diff)
downloadmruby-f4cf8ea423d8f9df1d341adba63d1416779aae8a.tar.gz
mruby-f4cf8ea423d8f9df1d341adba63d1416779aae8a.zip
partial VC support
Diffstat (limited to 'src/numeric.c')
-rw-r--r--src/numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/numeric.c b/src/numeric.c
index 054e09603..132da1553 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -1084,7 +1084,7 @@ fix_to_f(mrb_state *mrb, mrb_value num)
*/
/* ------------------------------------------------------------------------*/
static mrb_int
-flt2big(mrb_state *mrb, float d)
+flt2big(mrb_state *mrb, mrb_float d)
{
mrb_int z;
@@ -1099,7 +1099,7 @@ flt2big(mrb_state *mrb, float d)
}
mrb_value
-mrb_flt2big(mrb_state *mrb, float d)
+mrb_flt2big(mrb_state *mrb, mrb_float d)
{
return mrb_fixnum_value(flt2big(mrb, d));
}