[PATCH] libport: Fix typo in rintf.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] libport: Fix typo in rintf.

Alex Henrie
Signed-off-by: Alex Henrie <[hidden email]>
---
Spotted by Joris Huizer.
---
 libs/port/rint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/port/rint.c b/libs/port/rint.c
index a99c00be43..2c0d22294c 100644
--- a/libs/port/rint.c
+++ b/libs/port/rint.c
@@ -33,7 +33,7 @@ double rint(double x)
 #ifndef HAVE_RINTF
 float rintf(float x)
 {
-    return rintf(x);
+    return rint(x);
 }
 #endif
 
--
2.15.0