summaryrefslogtreecommitdiffstats
path: root/package/libxmlrpc/0006-narrowing.patch
blob: 43a5ca5f4046809acf4e947d5b63ac5e36758f60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Fix build with gcc6

Downloaded from
https://build.opensuse.org/package/view_file/devel:libraries:c_c++/xmlrpc-c/narrowing.patch

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Index: xmlrpc-c-1.33.18/src/cpp/base64.cpp
===================================================================
--- xmlrpc-c-1.33.18.orig/src/cpp/base64.cpp
+++ xmlrpc-c-1.33.18/src/cpp/base64.cpp
@@ -14,7 +14,7 @@ using namespace xmlrpc_c;
 
 namespace {
 
-char const table_a2b_base64[] = {
+signed char const table_a2b_base64[] = {
     -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
     -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
     -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,62, -1,-1,-1,63,
OpenPOWER on IntegriCloud