bad conversion from gchar* to guint64 on android

Dani dmr.dev.rdp at gmail.com
Thu Mar 31 11:43:09 UTC 2016


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/e62824fb/attachment-0001.html>


More information about the gstreamer-devel mailing list