[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: small build fix to pass uint8_t to tolower().
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1274781655 -3600 # Node ID 7875b0dafca7c454a5fa4b2d65949eea53262cd2 # Parent 12c79a47600743d348d07854a80d0124915a9b61 libxl: small build fix to pass uint8_t to tolower(). Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx> --- tools/libxl/xl_cmdimpl.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 12c79a476007 -r 7875b0dafca7 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Tue May 25 09:08:34 2010 +0100 +++ b/tools/libxl/xl_cmdimpl.c Tue May 25 11:00:55 2010 +0100 @@ -1226,7 +1226,7 @@ static int64_t parse_mem_size_kb(char *m if (strlen(endptr) > 1) return -1; - switch (tolower(*endptr)) { + switch (tolower((uint8_t)*endptr)) { case 't': kbytes <<= 10; case 'g': _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |