diff options
author | cornet | 2010-04-01 11:50:42 +0000 |
---|---|---|
committer | cornet | 2010-04-01 11:50:42 +0000 |
commit | c376d31d4dba016ddec4a1a4173dc417fa8494bb (patch) | |
tree | 80a57ae2c27e6d5c2d2dcf7be65e147ad6d490bd /src/c/implicitList | |
parent | 77ac2ce83397f6a371e3ed06eae67d7ad4f939b4 (diff) | |
download | scilab2c-c376d31d4dba016ddec4a1a4173dc417fa8494bb.tar.gz scilab2c-c376d31d4dba016ddec4a1a4173dc417fa8494bb.tar.bz2 scilab2c-c376d31d4dba016ddec4a1a4173dc417fa8494bb.zip |
warnings
Diffstat (limited to 'src/c/implicitList')
-rw-r--r-- | src/c/implicitList/dimplicitLists.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/implicitList/dimplicitLists.c b/src/c/implicitList/dimplicitLists.c index 1c7753f8..a06f91e1 100644 --- a/src/c/implicitList/dimplicitLists.c +++ b/src/c/implicitList/dimplicitLists.c @@ -21,7 +21,7 @@ void dimplicitLists(double start, double step, double end, double *out) { if (start < start + step) { - iNbElements = floor((end - start) / step) + 1; + iNbElements = (int)(floor((end - start) / step) + 1); out[0] = start; } } @@ -29,7 +29,7 @@ void dimplicitLists(double start, double step, double end, double *out) { if (start > start + step) { - iNbElements = floor((start - end) / step) + 1; + iNbElements = (int)(floor((start - end) / step) + 1); out[0] = start; } } |