From owner-cvs-all Fri Apr 5 16: 7:19 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C7B9D37B416; Fri, 5 Apr 2002 16:07:15 -0800 (PST) Received: (from tmm@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3607FN28510; Fri, 5 Apr 2002 16:07:15 -0800 (PST) (envelope-from tmm) Message-Id: <200204060007.g3607FN28510@freefall.freebsd.org> From: Thomas Moestl Date: Fri, 5 Apr 2002 16:07:15 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sparc64/net htonl.S ntohl.S X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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