THRIFT-929. cpp: Fix a couple minor issues in ZlibTest
authorDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:10:20 +0000 (17:10 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:10:20 +0000 (17:10 +0000)
commit56cb796bcecb1e2fef8ab23d8f3f60418502ba10
treefe8fc0005c3ac09fc0c0bb9ab42dc768b11714c0
parent35dc7695a95e4e0c3e311faca5341a2e365b9ea0
THRIFT-929. cpp: Fix a couple minor issues in ZlibTest

- Add a necessary cast.
- Check buffer sizes more carefully to allow for different read/write
  size distributions.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005147 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/test/ZlibTest.cpp