Module: wine Branch: master Commit: 7a7b60098f0eb68d3546792a77859eaf110eb056 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a7b60098f0eb68d3546792a77...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Nov 17 15:07:30 2010 +0100
libwine: Fix a pointer comparison warning.
---
libs/wine/loader.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libs/wine/loader.c b/libs/wine/loader.c index 6c2324d..df0a6b5 100644 --- a/libs/wine/loader.c +++ b/libs/wine/loader.c @@ -691,7 +691,7 @@ static int apple_alloc_thread_stack( void *base, size_t size, void *arg ) * of the address space causes subsequent execs to fail, even on the * child side of a fork. Avoid the top 16MB. */ char * const limit = (char*)0xff000000; - if (base >= limit) return 0; + if ((char *)base >= limit) return 0; if (size > limit - (char*)base) size = limit - (char*)base; if (size < info->desired_size) return 0;