aboutsummaryrefslogtreecommitdiff
path: root/lzio.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-12-28 11:44:54 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1998-12-28 11:44:54 -0200
commit766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f (patch)
tree96fbaa15baec33d4f14b27df79778e766ef46f57 /lzio.c
parent4c94d8cc2cbeac74ae3618b1322c3f3d3ec166ea (diff)
downloadlua-766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f.tar.gz
lua-766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f.tar.bz2
lua-766e67ef3b2af42f800b281e0fa0f57c7e3d2e3f.zip
to avoid warnings about "typecast" (Visual C++)
Diffstat (limited to 'lzio.c')
-rw-r--r--lzio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lzio.c b/lzio.c
index 35a2d6a7..8e11ef4d 100644
--- a/lzio.c
+++ b/lzio.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lzio.c,v 1.2 1997/11/21 19:00:46 roberto Exp roberto $ 2** $Id: lzio.c,v 1.3 1997/12/22 20:57:18 roberto Exp roberto $
3** a generic input stream interface 3** a generic input stream interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -15,11 +15,11 @@
15 15
16/* ----------------------------------------------------- memory buffers --- */ 16/* ----------------------------------------------------- memory buffers --- */
17 17
18static int zmfilbuf (ZIO* z) 18static int zmfilbuf (ZIO* z) {
19{
20 return EOZ; 19 return EOZ;
21} 20}
22 21
22
23ZIO* zmopen (ZIO* z, char* b, int size, char *name) 23ZIO* zmopen (ZIO* z, char* b, int size, char *name)
24{ 24{
25 if (b==NULL) return NULL; 25 if (b==NULL) return NULL;