<div dir="ltr">You should use size_t instead of ulong, but on 32bit you would have still problem because you are trying assign 2^32 which is too big to hold in 32bit</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 7, 2017 at 11:42 PM, kdevel via Digitalmars-d-learn <span dir="ltr"><<a href="mailto:digitalmars-d-learn@puremagic.com" target="_blank">digitalmars-d-learn@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tuesday, 19 September 2017 at 06:32:52 UTC, Nordlöw wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I want something straight forward without allot of plumbing on my end.<br>
</blockquote>
<br>
<a href="https://github.com/msgpack/msgpack-d" rel="noreferrer" target="_blank">https://github.com/msgpack/msg<wbr>pack-d</a><br>
</blockquote>
<br>
I can't unittest my 32-bit code:<br>
<br>
$ MODEL=32 make -f posix.mak unittest<br>
[...]<br>
src/msgpack/packer.d(1139): Error: function core.stdc.stdlib.malloc (uint size) is not callable using argument types (ulong)<br>
<br>
<br>
</blockquote></div><br></div>