diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-12-18 01:55:35 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-12-18 01:55:35 +0100 |
commit | 9e639f77598d04bf1a8fbe717f262f314b6d5603 (patch) | |
tree | 867e3a9517a26748b9213afcd69ed893e437b4c0 /lib/LuaHandle.cc | |
parent | 4baad7bd19349b55ca19e6c903e28bfd3de0d17b (diff) |
And of course, forgot a few semicolons
Diffstat (limited to 'lib/LuaHandle.cc')
-rw-r--r-- | lib/LuaHandle.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/LuaHandle.cc b/lib/LuaHandle.cc index 88dccc5..b15daf4 100644 --- a/lib/LuaHandle.cc +++ b/lib/LuaHandle.cc @@ -298,7 +298,7 @@ int sLuaHandle::adler32(lua_State * __L) { Uint32 adler = ::adler32(0L, Z_NULL, 0); while (tg > 0) { - blk = tg > MAXCHUNKSIZE ? MAXCHUNKSIZE : tg + blk = tg > MAXCHUNKSIZE ? MAXCHUNKSIZE : tg; h->read(buf, blk); tg -= blk; adler = ::adler32(adler, buf, blk); @@ -331,7 +331,7 @@ int sLuaHandle::crc32(lua_State * __L) { Uint32 crc = ::crc32(0L, Z_NULL, 0); while (tg > 0) { - blk = tg > MAXCHUNKSIZE ? MAXCHUNKSIZE : tg + blk = tg > MAXCHUNKSIZE ? MAXCHUNKSIZE : tg; h->read(buf, blk); tg -= blk; crc = ::crc32(crc, buf, blk); |