Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

NetBSD warnings #36

Open
XVilka opened this issue Oct 22, 2021 · 0 comments
Open

NetBSD warnings #36

XVilka opened this issue Oct 22, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@XVilka
Copy link
Member

XVilka commented Oct 22, 2021

../subprojects/sdb/src/query.c:756:20: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                while (*val && isspace (*val)) {
                                               ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
../subprojects/sdb/src/query.c:760:22: warning: array subscript is of type 'char' [-Wchar-subscripts]
                                while (i >= 0 && isspace (cmd[i])) {
                                                 ^~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
2 warnings generated.
@XVilka XVilka added the good first issue Good for newcomers label Oct 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant