Resolve gcc4.5 type error
PATCH 1/1 Resolve gcc4.5 type error
Without this, gcc 4.5 complains with,
error: case value '3' not in enumerated type 'const enum xs_perm_type'
Signed-off-by Charles Arnold <[email protected]>
tools/xenstore/xs_lib.c +1 -1
@@ -149,7 +149,7 @@ bool xs_perm_to_string(const struct xs_pbool xs_perm_to_string (const struct xs_permissions *perm,char *buffer,size_t buf_len) { -switch (perm->perms) { +switch ((int )perm->perms) {case XS_PERM_WRITE : *buffer ='w' ;break ;
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel