Fix warning in dxtfilter

git-svn-id: https://svn.eduke32.com/eduke32@4674 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2014-10-25 03:34:08 +00:00
parent 62f13fad76
commit ea929c7e43

View file

@ -103,7 +103,7 @@ static int32_t dedxt_handle_io(int32_t fil, int32_t j /* TODO: better name */,
inbuf = (ispacked && cleng < j) ? packbuf : midbuf; inbuf = (ispacked && cleng < j) ? packbuf : midbuf;
if (texcache.memcache.ptr && texcache.memcache.size >= (bsize_t)texcache.filepos + cleng) if (texcache.memcache.ptr && texcache.memcache.size >= texcache.filepos + cleng)
{ {
if (ispacked && cleng < j) if (ispacked && cleng < j)
{ {