diff options
author | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2011-06-28 11:40:25 +0000 |
---|---|---|
committer | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2011-06-28 11:40:25 +0000 |
commit | b44eac9a6d15b8cceb13f98123bf1540f7574fec (patch) | |
tree | ec590037bfcda8b763a4262a78b325fc13ddc5c3 | |
parent | 28be69c36a9a40e396c72ea587b2c68d523a3844 (diff) | |
download | snappy-b44eac9a6d15b8cceb13f98123bf1540f7574fec.tar.gz |
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
-rw-r--r-- | snappy.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |