<div dir="ltr"><div>I had a patchset before to do just this. It was posted on this mailing list, but as far as I can tell it was never merged.<br></div>There is a little more than just what you describe, because CLN uses the least significant bits of pointers that would be zero due to alignment for other things.<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 23, 2018 at 8:41 PM, Jan Rheinländer <span dir="ltr"><<a href="mailto:jrheinlaender@gmx.de" target="_blank">jrheinlaender@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm trying to create a win64 build of CLN. Most of the changes seem to<br>
involve replacing "unsigned long" with "uintptr_t" since "long" is 32bit<br>
in Win64.<br>
<br>
To make these changes useable for the community (by way of a git<br>
patch?), should I<br>
<br>
a) just go ahead and change<br>
<br>
b) put all the changes into a<br>
<br>
#if defined(_M_AMD64)<br>
<changed code><br>
#else<br>
<original code><br>
#endif<br>
<br>
I refer specifically to the "unsigned long" to "uintptr_t" changes, not<br>
to all changes in general. Is there any danger in doing this change on<br>
other platforms?<br>
<br>
Best regards,<br>
<br>
Jan Rheinländer<br>
<br>
<br>
______________________________<wbr>_________________<br>
CLN-list mailing list<br>
<a href="mailto:CLN-list@ginac.de">CLN-list@ginac.de</a><br>
<a href="https://www.cebix.net/mailman/listinfo/cln-list" rel="noreferrer" target="_blank">https://www.cebix.net/mailman/<wbr>listinfo/cln-list</a></blockquote></div><br></div>