mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
tools/libxl: fix array subscript has type 'char'
Signed-off-by: Christoph Egger <chegger@amazon.de>
This commit is contained in:
1 parent
a67e2dac9f
commit
b14fed7151
1 file changed
+1
-1
@@ -95,7 +95,7 @@ int libxl_domain_qualifier_to_domid(libxl_ctx *ctx, const char *name,
|
||||
{
|
||||
int i, rv;
|
||||
for (i=0; name[i]; i++) {
|
||||
if (!isdigit(name[i])) {
|
||||
if (!CTYPE(isdigit, name[i])) {
|
||||
goto nondigit_found;
|
||||
}
|
||||
}
|
||||
|
||||