projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e13255b
)
libxl: small build fix to pass uint8_t to tolower().
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 25 May 2010 10:00:55 +0000
(11:00 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 25 May 2010 10:00:55 +0000
(11:00 +0100)
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
tools/libxl/xl_cmdimpl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/xl_cmdimpl.c
b/tools/libxl/xl_cmdimpl.c
index 5c84d33e1d06c08ffaf4adf2a2eadc9bad062c31..76b8b9972fc5b19d944427f8be410d258e57d20d 100644
(file)
--- a/
tools/libxl/xl_cmdimpl.c
+++ b/
tools/libxl/xl_cmdimpl.c
@@
-1226,7
+1226,7
@@
static int64_t parse_mem_size_kb(char *mem)
if (strlen(endptr) > 1)
return -1;
- switch (tolower(*endptr)) {
+ switch (tolower(
(uint8_t)
*endptr)) {
case 't':
kbytes <<= 10;
case 'g':