[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] mini-os: Fix build failure with void* arithmetic.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1219840261 -3600 # Node ID 2397555ebcc2d60e03f2a400eeaa58033bda7382 # Parent 070688cdf62c7a1ed78404e5277ece18a9b88364 mini-os: Fix build failure with void* arithmetic. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- extras/mini-os/lib/sys.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 070688cdf62c -r 2397555ebcc2 extras/mini-os/lib/sys.c --- a/extras/mini-os/lib/sys.c Wed Aug 27 13:24:35 2008 +0100 +++ b/extras/mini-os/lib/sys.c Wed Aug 27 13:31:01 2008 +0100 @@ -1179,7 +1179,7 @@ int munmap(void *start, size_t length) } } } - start += n * PAGE_SIZE; + start = (char *)start + n * PAGE_SIZE; total -= n; } return 0; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |