From b44eac9a6d15b8cceb13f98123bf1540f7574fec Mon Sep 17 00:00:00 2001 From: "snappy.mirrorbot@gmail.com" Date: Tue, 28 Jun 2011 11:40:25 +0000 Subject: Fix public issue #44: Make the definition and declaration of CompressFragment identical, even regarding cv-qualifiers. This is required to work around a bug in the Solaris Studio C++ compiler (it does not properly disregard cv-qualifiers when doing name mangling). R=sanjay git-svn-id: http://snappy.googlecode.com/svn/trunk@44 03e5f5b5-db94-4691-08a0-1a8bf15f6143 --- snappy.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snappy.cc b/snappy.cc index 596f597..c79edb5 100644 --- a/snappy.cc +++ b/snappy.cc @@ -294,8 +294,8 @@ static inline uint32 GetUint32AtOffset(uint64 v, int offset) { // Returns an "end" pointer into "op" buffer. // "end - op" is the compressed size of "input". namespace internal { -char* CompressFragment(const char* const input, - const size_t input_size, +char* CompressFragment(const char* input, + size_t input_size, char* op, uint16* table, const int table_size) { -- cgit v1.2.1