diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-07-27 13:32:59 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2024-07-27 13:32:59 -0300 |
commit | 0acd55898d0aaae8dbc14c8a1bc1e3bdffc8701b (patch) | |
tree | 0ac634fed90877130b1f102bf4075af999de2158 /lmem.h | |
parent | 15231d4fb2f6984b25e0353ff46eda1a180b686d (diff) | |
download | lua-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 'lmem.h')
-rw-r--r-- | lmem.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -85,7 +85,7 @@ LUAI_FUNC void *luaM_saferealloc_ (lua_State *L, void *block, size_t oldsize, | |||
85 | size_t size); | 85 | size_t size); |
86 | LUAI_FUNC void luaM_free_ (lua_State *L, void *block, size_t osize); | 86 | LUAI_FUNC void luaM_free_ (lua_State *L, void *block, size_t osize); |
87 | LUAI_FUNC void *luaM_growaux_ (lua_State *L, void *block, int nelems, | 87 | LUAI_FUNC void *luaM_growaux_ (lua_State *L, void *block, int nelems, |
88 | int *size, int size_elem, int limit, | 88 | int *size, unsigned size_elem, int limit, |
89 | const char *what); | 89 | const char *what); |
90 | LUAI_FUNC void *luaM_shrinkvector_ (lua_State *L, void *block, int *nelem, | 90 | LUAI_FUNC void *luaM_shrinkvector_ (lua_State *L, void *block, int *nelem, |
91 | int final_n, int size_elem); | 91 | int final_n, int size_elem); |