aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2012-01-08 15:55:52 -0500
committerUlrich Drepper <drepper@gmail.com>2012-01-08 15:55:52 -0500
commit8784a6db9151da74c1ffab427d49014533cf865f (patch)
tree59c005920c7ee52e7f6a156745d95078ca944eea
parentc473bd1cd99db042dc1958c1bbaff3cba01a7893 (diff)
downloadglibc-8784a6db9151da74c1ffab427d49014533cf865f.zip
glibc-8784a6db9151da74c1ffab427d49014533cf865f.tar.gz
glibc-8784a6db9151da74c1ffab427d49014533cf865f.tar.bz2
Fix typo in CMPLXL
-rw-r--r--ChangeLog2
-rw-r--r--math/complex.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 85b8420..8c48331 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2012-01-08 Ulrich Drepper <drepper@gmail.com>
+ * math/complex.h (CMPLXL): Fix typo.
+
* debug/Makefile (routines): Add poll_chk and ppoll_chk.
* debug/Versions: Export __pool_chk and __ppoll_chk from libc for
GLIBC_2.16.
diff --git a/math/complex.h b/math/complex.h
index 9cbcc7f..9217fdd 100644
--- a/math/complex.h
+++ b/math/complex.h
@@ -54,7 +54,7 @@ __BEGIN_DECLS
# define CMPLX(x, y) __builtin_complex ((double) (x), (double) (y))
# define CMPLXF(x, y) __builtin_complex ((float) (x), (float) (y))
# ifndef __NO_LONG_DOUBLE_MATH
-# define CMPLXL(x, y) __builtin_complex ((double) (x), (double) (y))
+# define CMPLXL(x, y) __builtin_complex ((long double) (x), (long double) (y))
# endif
#endif