mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 14:34:29 +00:00
os: utils: ‘VerifyDisplayName: fix array subscript signedness
../os/utils.c: In function ‘VerifyDisplayName’:
../os/utils.c:624:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
624 | if (!isdigit(d[i])) {
| ^
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
d7a3c8901e
commit
eb082584b6
@@ -336,7 +336,7 @@ UseMsg(void)
|
||||
static int
|
||||
VerifyDisplayName(const char *d)
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
int period_found = FALSE;
|
||||
int after_period = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user