<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 7, 2018 at 8:16 AM, John Emmas <span dir="ltr"><<a href="mailto:john@creativepost.co.uk" target="_blank">john@creativepost.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 07/09/2018 15:39, Behdad Esfahbod wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Can you check if just removing the cast works?<br>
<br>
</blockquote>
<br></span>
Hi Behdad,<br>
<br>
Unfortunately no -  removing the cast (by itself) doesn't work. However, if I remove the cast and then change line 258 to this, it then works:-<br>
<br>
  mutable LONG v;<br>
<br>
Previously, line 258 was this:-<br>
<br>
  mutable int v;<br>
<br>
Hope that helps<br></blockquote><div><br></div><div>No I don't want to change the type.  The cast is fine if you also add a static_assert (sizeof (LONG) == sizeof (int), ""); right there.  Please submit a github Pull Request if that works.<br><br></div><div>Thanks, <br></div></div><div class="gmail_signature" data-smartmail="gmail_signature"><a href="http://behdad.org/" target="_blank">http://behdad.org/</a></div>
</div></div>