[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] tools/libxl: fix array subscript has type 'char'



commit b14fed71515bc6887d288169890c02f7bbe5d960
Author:     Christoph Egger <chegger@xxxxxxxxx>
AuthorDate: Thu May 30 14:24:57 2013 +0200
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Fri May 31 12:46:33 2013 +0100

    tools/libxl: fix array subscript has type 'char'
    
    Signed-off-by: Christoph Egger <chegger@xxxxxxxxx>
---
 tools/libxl/libxl_utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/libxl/libxl_utils.c b/tools/libxl/libxl_utils.c
index 35da71c..4309e5e 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;
         }
     }
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.