Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation warnings #47

Open
antirez opened this issue Jun 18, 2015 · 0 comments
Open

Fix compilation warnings #47

antirez opened this issue Jun 18, 2015 · 0 comments

Comments

@antirez
Copy link
Owner

antirez commented Jun 18, 2015

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++) {
                   ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant