squid/squid-3.2.0.14-gcc47.patch
2012-01-13 15:48:37 +01:00

14 lines
558 B
Diff

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
+++ squid-3.2.0.14/src/StoreEntryStream.h 2012-01-13 15:36:01.820858662 +0100
@@ -70,7 +70,8 @@ protected:
return traits_type::eof();
if (aChar != traits_type::eof()) {
- char chars[1] = {aChar};
+ char chars[1];
+ chars[0] = aChar;
if (aChar != traits_type::eof())
theEntry->append(chars, 1);