Mercurial > hg > CbC > old > device
changeset 766:43b9c46a3c95
minor fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 17 Nov 2010 19:31:12 +0900 |
parents | d2c52bcbedc8 |
children | c14a1426cfed |
files | test/int.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/int.c Wed Nov 17 19:27:13 2010 +0900 +++ b/test/int.c Wed Nov 17 19:31:12 2010 +0900 @@ -387,7 +387,7 @@ printf("#0386: %d\n", s); s = s/(h-1); printf("#0388: %d\n", s); - printf("#0389: %d\n", h/3-(3.0-(g+3)*s/(h-1))); + printf("#0389: %d\n", (int)(h/3-(3.0-(g+3)*s/(h-1)))); #endif return h/3-(3.0-(g+3)*test2(f*1.5,i-1)/(h-1)); }