From 766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 28 Dec 1998 11:44:54 -0200 Subject: to avoid warnings about "typecast" (Visual C++) --- lzio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lzio.c') diff --git a/lzio.c b/lzio.c index 35a2d6a7..8e11ef4d 100644 --- a/lzio.c +++ b/lzio.c @@ -1,5 +1,5 @@ /* -** $Id: lzio.c,v 1.2 1997/11/21 19:00:46 roberto Exp roberto $ +** $Id: lzio.c,v 1.3 1997/12/22 20:57:18 roberto Exp roberto $ ** a generic input stream interface ** See Copyright Notice in lua.h */ @@ -15,11 +15,11 @@ /* ----------------------------------------------------- memory buffers --- */ -static int zmfilbuf (ZIO* z) -{ +static int zmfilbuf (ZIO* z) { return EOZ; } + ZIO* zmopen (ZIO* z, char* b, int size, char *name) { if (b==NULL) return NULL; -- cgit v1.2.3-55-g6feb