summaryrefslogtreecommitdiff
path: root/dev-lang/spidermonkey/files/spidermonkey-52.0-gcc9-overflow.patch
blob: c7eb0f62b280a1ca27af12ebaaa4ffa81619aa4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 311fc467219ab6ee9eed60759b58a8066c4bf36d Mon Sep 17 00:00:00 2001
From: 
Date: Thu, 25 Jul 2019 10:00:33 -0500
Subject: [PATCH] gcc-9 overflow fix

---
 js/src/jsapi-tests/testPrintf.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/js/src/jsapi-tests/testPrintf.cpp b/js/src/jsapi-tests/testPrintf.cpp
index 51486856..03cc118d 100644
--- a/js/src/jsapi-tests/testPrintf.cpp
+++ b/js/src/jsapi-tests/testPrintf.cpp
@@ -55,7 +55,6 @@ BEGIN_TEST(testPrintf)
     CHECK(print_one("27270", "%zu", (size_t) 27270));
     CHECK(print_one("27270", "%" PRIuSIZE, (size_t) 27270));
     CHECK(print_one("hello", "he%so", "ll"));
-    CHECK(print_one("(null)", "%s", zero()));
     CHECK(print_one("0", "%p", (char *) 0));
     CHECK(print_one("h", "%c", 'h'));
     CHECK(print_one("1.500000", "%f", 1.5f));
-- 
2.22.0