antirez / antirez/lua-cmsgpack
Fix compilation warnings
- 主要语言
- C
- 星标
- 383
- 派生
- 122
- PR 合并指标
- 30 天内没有已合并 PR
描述
```
lua_cmsgpack.c: In function ‘mp_unpack_full’:
lua_cmsgpack.c:802:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if (offset > len)
^
lua_cmsgpack.c: In function ‘luaopen_create’:
lua_cmsgpack.c:899:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < (sizeof(cmds)/sizeof(*cmds) - 1); i++) {
^
lua_cmsgpack.c: In function ‘luaopen_cmsgpack_safe’:
lua_cmsgpack.c:934:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < (sizeof(cmds)/sizeof(*cmds) - 1); i++) {
^
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。