From b14fed71515bc6887d288169890c02f7bbe5d960 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Thu, 30 May 2013 14:24:57 +0200 Subject: tools/libxl: fix array subscript has type 'char' Signed-off-by: Christoph Egger --- tools/libxl/libxl_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/libxl') diff --git a/tools/libxl/libxl_utils.c b/tools/libxl/libxl_utils.c index 35da71c482..4309e5e345 100644 --- a/tools/libxl/libxl_utils.c +++ b/tools/libxl/libxl_utils.c @@ -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; } } -- cgit v1.2.3