From 4e55d282d2490627fc7357df2896611390795f07 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Tue, 9 May 2006 01:03:02 +0000 Subject: [PATCH] * Removed a useless cast in the kernel code. --- kernel/kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/kernel.c b/kernel/kernel.c index e291239..17a43a6 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -295,7 +295,7 @@ double sqrt(double x) for(i = 0; i < 10; i++) ret = (ret * ret + x) / (ret * 2.0); - return (double)ret; + return ret; } #endif /* __KERNEL__ */