squid/squid-3.2.0.14-gcc47.patch

25 lines
953 B
Diff
Raw Normal View History

2012-01-16 09:14:12 +00:00
diff -up squid-3.2.0.14/src/ssl/support.cc.gcc47 squid-3.2.0.14/src/ssl/support.cc
--- squid-3.2.0.14/src/ssl/support.cc.gcc47 2012-01-16 09:02:32.097769625 +0100
+++ squid-3.2.0.14/src/ssl/support.cc 2012-01-16 09:43:53.149248015 +0100
@@ -333,7 +333,7 @@ ssl_options[] = {
#endif
#if SSL_OP_ALL
{
- "ALL", SSL_OP_ALL
+ "ALL", (long)SSL_OP_ALL
},
#endif
#if SSL_OP_SINGLE_DH_USE
diff -up squid-3.2.0.14/src/StoreEntryStream.h.gcc47 squid-3.2.0.14/src/StoreEntryStream.h
--- squid-3.2.0.14/src/StoreEntryStream.h.gcc47 2012-01-13 15:34:52.973978675 +0100
2012-01-16 09:14:12 +00:00
+++ squid-3.2.0.14/src/StoreEntryStream.h 2012-01-16 08:36:31.504084580 +0100
@@ -70,7 +70,7 @@ protected:
return traits_type::eof();
if (aChar != traits_type::eof()) {
- char chars[1] = {aChar};
2012-01-16 09:14:12 +00:00
+ char chars[1] = { (char)aChar };
if (aChar != traits_type::eof())
theEntry->append(chars, 1);