aboutsummaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lundump.c b/lundump.c
index 7ea55ea4..b1dd78ab 100644
--- a/lundump.c
+++ b/lundump.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lundump.c,v 1.41 2002/06/06 13:22:56 lhf Exp lhf $ 2** $Id: lundump.c,v 1.50 2002/06/17 13:51:01 roberto Exp roberto $
3** load pre-compiled Lua chunks 3** load pre-compiled Lua chunks
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -41,7 +41,7 @@ static int ezgetc (lua_State* L, ZIO* Z)
41 41
42static void ezread (lua_State* L, ZIO* Z, void* b, int n) 42static void ezread (lua_State* L, ZIO* Z, void* b, int n)
43{ 43{
44 int r=zread(Z,b,n); 44 int r=luaZ_read(Z,b,n);
45 if (r!=0) unexpectedEOZ(L,Z); 45 if (r!=0) unexpectedEOZ(L,Z);
46} 46}
47 47