Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/testsuite')
-rw-r--r--newlib/testsuite/newlib.stdio/swprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/testsuite/newlib.stdio/swprintf.c b/newlib/testsuite/newlib.stdio/swprintf.c
index b925da487..c20bf898c 100644
--- a/newlib/testsuite/newlib.stdio/swprintf.c
+++ b/newlib/testsuite/newlib.stdio/swprintf.c
@@ -18,7 +18,7 @@ int main()
#else
char cbuf[512];
wchar_t wcbuf[512], wcbuf2[512];
- double val = 1E+308;
+ double val = 1E+30;
snprintf(cbuf, 512, "%.*f", 3, val);
swprintf(wcbuf, 512, L"%.*f", 3, val);
mbstowcs(wcbuf2, cbuf, 512);