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

Warning in m_setbytes #304

Open
hiperiondev opened this issue Oct 27, 2022 · 2 comments
Open

Warning in m_setbytes #304

hiperiondev opened this issue Oct 27, 2022 · 2 comments

Comments

@hiperiondev
Copy link
Contributor

[Compile] src/be_byteslib.c
src/be_byteslib.c: En la función ‘m_setbytes’:
src/be_byteslib.c:971:25: aviso: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int32_t’ {también conocido como ‘int’} [-Wsign-compare]
971 | if ((size_t)idx >= attr.len) { idx = attr.len; }
| ^~
src/be_byteslib.c:984:26: aviso: comparison of integer expressions of different signedness: ‘int32_t’ {también conocido como ‘int’} and ‘size_t’ {también conocido como ‘long unsigned int’} [-Wsign-compare]
984 | if (from_len >= from_len_total) { from_len = from_len_total; }
| ^~
src/be_byteslib.c:986:45: aviso: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘int32_t’ {también conocido como ‘int’} [-Wsign-compare]
986 | if ((size_t) idx + (size_t)from_len >= attr.len) { from_len = attr.len - idx; }
| ^~

@s-hadinger
Copy link
Contributor

Thanks. Yes I'm aware. I will fix it in a couple of days.

@hiperiondev
Copy link
Contributor Author

Some notice about this?

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

2 participants