Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2001 18:06:02 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Murray Stokely <murray@FreeBSD.org>
Cc:        <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/usr.sbin/sysinstall command.c config.c
Message-ID:  <20010923180124.I13390-100000@delplex.bde.org>
In-Reply-To: <200109222234.f8MMYE643596@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 22 Sep 2001, Murray Stokely wrote:

> murray      2001/09/22 15:34:14 PDT
>
>   Modified files:
>     usr.sbin/sysinstall  command.c config.c
>   Log:
>   Silence warnings on alpha :
>
>     Use '%p' when printing out the address of a function.
>     sizeof(int) != sizeof(long)

%p is for printing pointers of type "void *".  It is unsuitable for
printing arbitrary pointers to objects.  It is especially unsuitable
for printing pointers to functions.

Bruce


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?20010923180124.I13390-100000>