]>
Commit | Line | Data |
---|---|---|
8f47d69b AM |
1 | From: asfernandes <asfernandes@users.sourceforge.net> |
2 | Date: Sat, 5 Mar 2016 03:39:36 +0000 | |
3 | Subject: Make the generated code compatible with gcc 6 in C++-14 mode. | |
4 | (cherry picked from commit 3618aa2171674babf79ef935aa049c40a3db1321) | |
5 | Patch-mainline: | |
6 | Git-commit: 3618aa2171674babf79ef935aa049c40a3db1321 | |
7 | References: bsc#964466 CORE-5099 | |
8 | ||
9 | --- | |
10 | src/gpre/c_cxx.cpp | 2 +- | |
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
12 | ||
13 | diff --git a/src/gpre/c_cxx.cpp b/src/gpre/c_cxx.cpp | |
14 | index df175dca9465..bafce8f282bf 100644 | |
15 | --- a/src/gpre/c_cxx.cpp | |
16 | +++ b/src/gpre/c_cxx.cpp | |
17 | @@ -2820,7 +2820,7 @@ static void gen_request(const gpre_req* request) | |
18 | printa(0, "static %sshort\n isc_%dl = %d;", | |
19 | (request->req_flags & REQ_extend_dpb) ? "" : CONST_STR, | |
20 | request->req_ident, request->req_length); | |
21 | - printa(0, "static %schar\n isc_%d [] = {", CONST_STR, request->req_ident); | |
22 | + printa(0, "static %sunsigned char\n isc_%d [] = {", CONST_STR, request->req_ident); | |
23 | ||
24 | const TEXT* string_type = "blr"; | |
25 | if (gpreGlob.sw_raw) | |
26 | -- | |
27 | 2.8.2 | |
28 | ||
29 |