aboutsummaryrefslogtreecommitdiffstats
path: root/trionan.c
diff options
context:
space:
mode:
authorBjorn Reese <breese@src.gnome.org>2002-04-19 15:16:01 +0000
committerBjorn Reese <breese@src.gnome.org>2002-04-19 15:16:01 +0000
commit54d02fb30df16b1a69abe2a418a954165dd8337e (patch)
tree77622ec70ccadb4da7965af7b997469eb464c74f /trionan.c
parentb439896915e8ecfd9f9797c192b8a4ca4659b2ae (diff)
downloadandroid_external_libxml2-54d02fb30df16b1a69abe2a418a954165dd8337e.tar.gz
android_external_libxml2-54d02fb30df16b1a69abe2a418a954165dd8337e.tar.bz2
android_external_libxml2-54d02fb30df16b1a69abe2a418a954165dd8337e.zip
Fixed crash on OSF/1
Diffstat (limited to 'trionan.c')
-rw-r--r--trionan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trionan.c b/trionan.c
index 138d2aae..6f67c5be 100644
--- a/trionan.c
+++ b/trionan.c
@@ -324,7 +324,7 @@ trio_nan(void)
if (result == 0.0) {
#if defined(TRIO_COMPILER_SUPPORTS_C99)
- result = nan(NULL);
+ result = nan("");
#elif defined(NAN) && defined(__STDC_IEC_559__)
result = (double)NAN;