aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/x86_64/fpu/multiarch/s_fma.c2
-rw-r--r--sysdeps/x86_64/fpu/multiarch/s_fmaf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/s_fma.c b/sysdeps/x86_64/fpu/multiarch/s_fma.c
index 06f2d001d9..dca256a517 100644
--- a/sysdeps/x86_64/fpu/multiarch/s_fma.c
+++ b/sysdeps/x86_64/fpu/multiarch/s_fma.c
@@ -45,7 +45,7 @@ __fma_fma4 (double x, double y, double z)
# else
# undef HAS_FMA4
# define HAS_FMA4 0
-# define __fma_fma4 NULL
+# define __fma_fma4 ((void *) 0)
# endif
diff --git a/sysdeps/x86_64/fpu/multiarch/s_fmaf.c b/sysdeps/x86_64/fpu/multiarch/s_fmaf.c
index 53c08de47c..0dcf273ea0 100644
--- a/sysdeps/x86_64/fpu/multiarch/s_fmaf.c
+++ b/sysdeps/x86_64/fpu/multiarch/s_fmaf.c
@@ -44,7 +44,7 @@ __fmaf_fma4 (float x, float y, float z)
# else
# undef HAS_FMA4
# define HAS_FMA4 0
-# define __fmaf_fma4 NULL
+# define __fmaf_fma4 ((void *) 0)
# endif