[Vm-dev] Re: [OpenSmalltalk/opensmalltalk-vm] 931559: Replace
another (UINT) cast by (usqIntptr_t) for L...
nicolas.cellier.aka.nice at gmail.com
Fri Jul 8 16:53:22 UTC 2016
Yes, maybe it would have worked, I don't know.
Analyzing if this warning is a true or false positive is costly and it's
hard to store the result of the query.
The best thing to do is to just eliminate the warning by providing
2016-07-08 14:46 GMT+02:00 Henrik Sperre Johansen <
henrik.s.johansen at veloxit.no>:
> Wouldn't either way work?
> The struct field is a UINT ID number, not a pointer, so truncating the
> pointer to use as id would be as good as putting a 64bit pointer in the
> struct, and then overwriting the last bits by subsequently setting uFlags,
> as long as they both consistently yield the same value in uID field based
> View this message in context:
> Sent from the Squeak VM mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev