tools/libxl: fix array subscript has type 'char'

Signed-off-by: Christoph Egger <chegger@amazon.de>
This commit is contained in:
Christoph Egger authored and Ian Campbell committed 2013-05-31 12:46:33 +01:00
1 parent a67e2dac9f
commit b14fed7151
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.