PERFORCE change 152761 for review

Peter Wemm peter at FreeBSD.org
Mon Nov 10 12:20:52 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=152761

Change 152761 by peter at 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);


More information about the p4-projects mailing list