Date: Wed, 14 Mar 2001 14:00:44 +1100 (EST) From: Mark Andrews <marka@nominum.com> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/25786: Misdeclared IPv6 macros. Message-ID: <200103140300.f2E30ir99998@drugs.dv.isc.org>
next in thread | raw e-mail | index | archive | help
>Number: 25786 >Category: bin >Synopsis: Misdeclared IPv6 macros. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 13 19:10:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Mark Andrews >Release: FreeBSD 4.2-STABLE i386 >Organization: Nominum >Environment: FreeBSD drugs.dv.isc.org 4.2-STABLE FreeBSD 4.2-STABLE #2: Mon Feb 12 09:38:45 EST 2001 marka@drugs.dv.isc.org:/usr/obj/usr/src/sys/DRUGS i386 >Description: IN6_IS_ADDR_UNSPECIFIED IN6_IS_ADDR_LOOPBACK IN6_IS_ADDR_V4COMPAT IN6_IS_ADDR_V4MAPPED All the above macros cause compiler warnings when passed const's. The casts are missing a the const. >How-To-Repeat: >Fix: Add missing const's to casts. e.g. (const u_int32_t *) instead of (u_int32_t *). >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103140300.f2E30ir99998>