]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Don't use NULL in last s_fma{,f} change
authorUlrich Drepper <drepper@gmail.com>
Fri, 21 Oct 2011 11:39:28 +0000 (07:39 -0400)
committerUlrich Drepper <drepper@gmail.com>
Fri, 21 Oct 2011 11:39:28 +0000 (07:39 -0400)
sysdeps/x86_64/fpu/multiarch/s_fma.c
sysdeps/x86_64/fpu/multiarch/s_fmaf.c

index 06f2d001d92f9c45fddf2302d541b6a64c180188..dca256a51748564866f5bc387e46da3497346293 100644 (file)
@@ -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
 
 
index 53c08de47c7d38f7d252ff3912887e9e9611a926..0dcf273ea0007a5615c0d63fd629f7bdae71ca0b 100644 (file)
@@ -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