<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Ok problem solved, I needed to include stdlib.h, noob's issue!<br>
<br>
<div class="moz-cite-prefix">El 31/03/16 a las 13:43, Dani escribió:<br>
</div>
<blockquote cite="mid:56FD0D4D.70909@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Hi everyone, <br>
I am writing a C project for pc and android, and in some place I
have to convert a gchar* to a guint64 value. On the PC I am using
Ubuntu and it does the conversion successfully, but using the same
code into the android ndk is not working right. The instruction I
am using on both projects is:<br>
<blockquote>guint64 val = (guint64) strtoull(char_val, (char
**)NULL, 10);<br>
</blockquote>
Has anyone any clue why it is not working with android at all?<br>
<br>
Thanks<br>
<br>
Dani<br>
</blockquote>
<br>
</body>
</html>