summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/LuaHandle.cc4
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);