aboutsummaryrefslogtreecommitdiffstats
path: root/main/xulrunner/gecko-c99math.patch
blob: cdb846442bad4795e0ed405a105f575147659da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mozilla-2.0.orig/content/canvas/src/nsCanvasRenderingContext2D.cpp
+++ mozilla-2.0/content/canvas/src/nsCanvasRenderingContext2D.cpp
@@ -159,7 +159,7 @@
     // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800.
     return !!_finite(d);
 #else
-    return finite(d);
+    return isfinite(d);
 #endif
 }