Hi,

i wrote:

>  uint8_t *u;
>  u = (uint8_t *) p;
>  return (u[0] | (u[1] << 8) | (u[2] << 16) | (u[3] << 24));

not enough "&":

  u = (uint8_t *) &p;

I should have compiled first before sending mail.


Have a nice day :)

Thomas


Reply via email to