bad conversion from gchar* to guint64 on android

Dani dmr.dev.rdp at gmail.com
Thu Mar 31 14:07:16 UTC 2016


Ok problem solved, I needed to include stdlib.h, noob's issue!

El 31/03/16 a las 13:43, Dani escribió:
> Hi everyone,
> 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:
>
>     guint64 val = (guint64) strtoull(char_val, (char **)NULL, 10);
>
> Has anyone any clue why it is not working with android at all?
>
> Thanks
>
> Dani

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160331/b6677dd5/attachment.html>


More information about the gstreamer-devel mailing list