diff options
Diffstat (limited to 'lundump.c')
-rw-r--r-- | lundump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
42 | static void ezread (lua_State* L, ZIO* Z, void* b, int n) | 42 | static 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 | ||