ceb5ad7c5f
fixes FTBFS due to gcc4.7
14 lines
558 B
Diff
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);
|