[njs] Fixed compilation with gcc 4.4.
Dmitry Volyntsev
xeioex at nginx.com
Mon Sep 3 12:53:11 UTC 2018
details: http://hg.nginx.org/njs/rev/1a02c6a3bdd9
branches:
changeset: 598:1a02c6a3bdd9
user: Dmitry Volyntsev <xeioex at nginx.com>
date: Mon Sep 03 14:29:52 2018 +0300
description:
Fixed compilation with gcc 4.4.
This fixes #49 issue on Github.
diffstat:
nxt/nxt_strtod.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 25d3bb391edb -r 1a02c6a3bdd9 nxt/nxt_strtod.c
--- a/nxt/nxt_strtod.c Fri Aug 31 16:55:35 2018 +0300
+++ b/nxt/nxt_strtod.c Mon Sep 03 14:29:52 2018 +0300
@@ -111,6 +111,7 @@ nxt_adjust_pow10(int exp)
return nxt_diyfp(nxt_uint64(0x98968000, 00000000), -40);
default:
nxt_unreachable();
+ return nxt_diyfp(0, 0);
}
}
More information about the nginx-devel
mailing list