aboutsummaryrefslogtreecommitdiff
path: root/lzio.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-07-27 13:32:59 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2024-07-27 13:32:59 -0300
commit0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b (patch)
tree0ac634fed90877130b1f102bf4075af999de2158 /lzio.h
parent15231d4fb2f6984b25e0353ff46eda1a180b686d (diff)
downloadlua-0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b.tar.gz
lua-0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b.tar.bz2
lua-0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b.zip
Added gcc option '-Wconversion'
No warnings for standard numerical types. Still pending alternative numerical types.
Diffstat (limited to 'lzio.h')
-rw-r--r--lzio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lzio.h b/lzio.h
index 55cc74ad..49047c98 100644
--- a/lzio.h
+++ b/lzio.h
@@ -32,7 +32,7 @@ typedef struct Mbuffer {
32#define luaZ_sizebuffer(buff) ((buff)->buffsize) 32#define luaZ_sizebuffer(buff) ((buff)->buffsize)
33#define luaZ_bufflen(buff) ((buff)->n) 33#define luaZ_bufflen(buff) ((buff)->n)
34 34
35#define luaZ_buffremove(buff,i) ((buff)->n -= (i)) 35#define luaZ_buffremove(buff,i) ((buff)->n -= cast_sizet(i))
36#define luaZ_resetbuffer(buff) ((buff)->n = 0) 36#define luaZ_resetbuffer(buff) ((buff)->n = 0)
37 37
38 38