summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
authorRitt Konstantin <ritt.ks@gmail.com>2011-01-19 09:10:14 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-01-19 09:10:14 (GMT)
commitbf7c6ee466d93db7d5af027d5ab503998f8ebf6f (patch)
treebe81f5aa5726ca27dc01321fef199b8cfb79fee7 /config.tests
parent2f69ca58949ceaec5c2195af6e9edfa46c1c911d (diff)
downloadQt-bf7c6ee466d93db7d5af027d5ab503998f8ebf6f.zip
Qt-bf7c6ee466d93db7d5af027d5ab503998f8ebf6f.tar.gz
Qt-bf7c6ee466d93db7d5af027d5ab503998f8ebf6f.tar.bz2
fix doubleformat config.test
add 0.0 at the end to be treated like trailing null (\0) by some versions of 'strings' cli tool Merge-request: 2550 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/unix/doubleformat/doubleformattest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.tests/unix/doubleformat/doubleformattest.cpp b/config.tests/unix/doubleformat/doubleformattest.cpp
index f7b9000..b906e00 100644
--- a/config.tests/unix/doubleformat/doubleformattest.cpp
+++ b/config.tests/unix/doubleformat/doubleformattest.cpp
@@ -54,7 +54,7 @@ tested on x86, arm-le (gp), aix
#include <stdlib.h>
// equals static char c [] = "0123ABCD0123ABCD\0\0\0\0\0\0\0"
-static double d [] = { 710524581542275055616.0, 710524581542275055616.0};
+static double d [] = { 710524581542275055616.0, 710524581542275055616.0, 0.0 };
int main(int argc, char **argv)
{