<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Dec 12, 2012 at 2:14 PM, Nick Kledzik <span dir="ltr"><<a href="mailto:kledzik@apple.com" target="_blank">kledzik@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div class="im"><div>On Dec 12, 2012, at 1:50 PM, Eric Christopher wrote:</div>
<br><blockquote type="cite">Seems to be inherently less portable? Perhaps changing the out parameter instead?</blockquote></div><div>Why is this change less portable?  getAsUnsignedInteger() is defined to have a reference parameter of type unsigned  long long.  I was passing it a variable of type uint64_t, which caused build failures on system in which uint64_t != unsigned long long.  Now yaml is using the correct type.</div>
<span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div></div></blockquote><div><br></div><div>I mention because it would have been just as easy to change the reference parameter than to change the uses here, but that said int64_t is guaranteed to be exactly 64-bits whereas long long is guaranteed to be at least 64-bits.</div>
<div><br></div><div>Also, uint64_t is way easier to look at than unsigned long long. :)</div><div><br></div><div>-eric</div></div></div>