fix some more type conversion warnings w/MSVC

API & memory related warnings will be dealt with separately

Change-Id: I8a7893baa4d5035c963fb3c16e0bb4eee742e968
This commit is contained in:
James Zern
2011-12-21 15:46:19 -08:00
parent 223d8c60aa
commit b1662b0530
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@ static int EncodeZlibTCoder(const uint8_t* data, int width, int height,
best.literal = data[n];
best.len = 1;
for (dist = 1; dist <= MAX_DIST && dist <= n; ++dist) {
const int pos = n - dist;
const size_t pos = n - dist;
const size_t min_len = best.len - 1;
size_t len;