summaryrefslogtreecommitdiffhomepage
path: root/src/numeric.c
diff options
context:
space:
mode:
authorfleuria <[email protected]>2013-07-25 02:51:24 +0800
committerfleuria <[email protected]>2013-07-25 03:00:03 +0800
commit620e323d156378f776b9914c45d460699ebfc41f (patch)
treeba5bfb88085cb51efb46c50a9cdecee4c61315cf /src/numeric.c
parentbbbe996e0da745856af543158c39a2ae6bd966de (diff)
downloadmruby-620e323d156378f776b9914c45d460699ebfc41f.tar.gz
mruby-620e323d156378f776b9914c45d460699ebfc41f.zip
replace assert with mrb_assert
Diffstat (limited to 'src/numeric.c')
-rw-r--r--src/numeric.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/numeric.c b/src/numeric.c
index c734a595d..4d794f8d8 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -4,7 +4,6 @@
** See Copyright Notice in mruby.h
*/
-#include <assert.h>
#include <float.h>
#if defined(__FreeBSD__) && __FreeBSD__ < 4
# include <floatingpoint.h>
@@ -782,7 +781,7 @@ fixdivmod(mrb_state *mrb, mrb_int x, mrb_int y, mrb_int *divp, mrb_int *modp)
{
mrb_int div, mod;
- /* TODO: add assert(y != 0) to make sure */
+ /* TODO: add mrb_assert(y != 0) to make sure */
if (y < 0) {
if (x < 0)