antirez / antirez/lua-cmsgpack
Fix compilation warnings
- Langage dominant
- C
- Étoiles
- 383
- Forks
- 122
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
```
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++) {
^
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.