From 9e639f77598d04bf1a8fbe717f262f314b6d5603 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 18 Dec 2009 01:55:35 +0100 Subject: And of course, forgot a few semicolons --- lib/LuaHandle.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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); -- cgit v1.2.3