-------- 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 ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [email protected] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
