Date: Mon, 10 Nov 2008 20:20:51 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 152761 for review Message-ID: <200811102020.mAAKKpjZ018964@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152761 Change 152761 by peter@peter_cheese on 2008/11/10 20:20:22 Fix pointer/int warning. Affected files ... .. //depot/projects/valgrind/coregrind/m_syswrap/syswrap-x86-freebsd.c#13 edit Differences ... ==== //depot/projects/valgrind/coregrind/m_syswrap/syswrap-x86-freebsd.c#13 (text+ko) ==== @@ -362,7 +362,7 @@ stk = ML_(allocstack)(ctid); tp.stack_base = (void *)ctst->os_state.valgrind_stack_base; tp.stack_size = (Addr)stk - (Addr)tp.stack_base; - *(UWord *)(stk - 4) = tp.arg; /* Client arg */ + *(UWord *)(stk - 4) = (UWord)tp.arg; /* Client arg */ *(UWord *)(stk - 8) = 0xdeadc0de; /* fake return addr */ /* This is for thr_new() to run valgrind's trampoline */ tp.start_func = (void *)ML_(start_thread_NORETURN);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811102020.mAAKKpjZ018964>