Date: Fri, 5 Apr 2002 16:07:15 -0800 (PST) From: Thomas Moestl <tmm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sparc64/net htonl.S ntohl.S Message-ID: <200204060007.g3607FN28510@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tmm 2002/04/05 16:07:15 PST Modified files: lib/libc/sparc64/net htonl.S ntohl.S Log: htonl() and ntohl() operate on unsinged types, so they must zero-extend, not sign-extend. Fix a comment in the former to that effect, and change the latter over to do the right conversion. Revision Changes Path 1.3 +1 -1 src/lib/libc/sparc64/net/htonl.S 1.3 +1 -1 src/lib/libc/sparc64/net/ntohl.S To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204060007.g3607FN28510>