diff options
| author | fleuria <[email protected]> | 2013-07-25 02:51:24 +0800 |
|---|---|---|
| committer | fleuria <[email protected]> | 2013-07-25 03:00:03 +0800 |
| commit | 620e323d156378f776b9914c45d460699ebfc41f (patch) | |
| tree | ba5bfb88085cb51efb46c50a9cdecee4c61315cf /src/numeric.c | |
| parent | bbbe996e0da745856af543158c39a2ae6bd966de (diff) | |
| download | mruby-620e323d156378f776b9914c45d460699ebfc41f.tar.gz mruby-620e323d156378f776b9914c45d460699ebfc41f.zip | |
replace assert with mrb_assert
Diffstat (limited to 'src/numeric.c')
| -rw-r--r-- | src/numeric.c | 3 |
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) |
