dailab/libsml — pull request #4 by dapaulid (2012-08-07 14:58:03+00:00)
Title: Fixed endianness bug in sml_number_init

As discussed per mail, I provide the patch for the endianess problem in sml_number_init.

The solution in my mail was incorrect; the bytes in the u64 buffer do not need to be swapped, but the source pointer of memcpy needs to be incremented. I tested it on my router and it is fine now.

Regards
Daniel