On 07/08/18 17:45, Poul-Henning Kamp wrote:
--------
In message <[email protected]>, "Pedro F. Giffuni" 
writes:

  New version:
usize = buf[4];
      usize |= (unsigned int)buf[5] << 8;
      usize |= (unsigned int)buf[6] << 16;
      usize |= (unsigned int)buf[7] << 24;
Why not use the functions in endian.h ?

Hmm. .. I am just syncing with NetBSD, where this originated from :-/.
But good point.

Pedro.

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to