<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I'd forgotten about:<br>
<table border="1" cellpadding="5" cellspacing="0">
<tbody>
<tr>
<td><br>
</td>
<td>int_least8_t<br>
</td>
</tr>
</tbody>
</table>
I guess that's what I should use.<br>
<br>
On 09/26/2013 03:06 PM, bearophile wrote:<br>
</div>
<blockquote cite="mid:ugyipdrrvfobpzpnmahf@forum.dlang.org"
type="cite">Charles Hixson:
<br>
<br>
<blockquote type="cite">So... if C returns an int64_t and I
declare it as an int32_t, will this cause problems? What about
if C returns an int32_t and I declare it as an int64_t? Or *is*
there a good way to handle this? (I think that there's an error
code I could interrogate if I need to just ignore the
result...but I don't know if I can do this in all cases.)
<br>
</blockquote>
<br>
Take a look at this entertaining page:
<br>
<a class="moz-txt-link-freetext" href="http://dlang.org/phobos/std_stdint.html">http://dlang.org/phobos/std_stdint.html</a>
<br>
<br>
Bye,
<br>
bearophile
<br>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Charles Hixson</pre>
</body>
</html>