Hi Stefan!
On Sat, 9 Aug 2008, Stefan Reinauer wrote:
And the memory compare functions should probably be taking void *.
Just checked. Normal libc memcmp takes void. I thought libpayload functions were modelled after these. If not, that should be fixed anyways.
void * is a good idea here.
I sent a patch along those lines in this thread earlier today (10:21:43 +0200 (CEST)), chaning to void * in libpayload.h and memory.c. Does it do the right thing?
/ulf