Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 1998 13:35:17 +1030
From:      Mike Smith <mike@smith.net.au>
To:        John Birrell <jb@FreeBSD.ORG>
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libmytinfo mkcapsort.c 
Message-ID:  <199801130305.NAA04852@word.smith.net.au>
In-Reply-To: Your message of "Mon, 12 Jan 1998 19:07:11 -0800." <199801130307.TAA22859@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> jb          1998/01/12 19:07:11 PST
> 
>   Modified files:
>     lib/libmytinfo       mkcapsort.c 
>   Log:
>   When printf'ing the result of pointer arithmetic, cast the result to
>   long and use %ld, not %d.

Is there a reason for doing it this way, rather than using %p?
(Just curious)

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\ 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801130305.NAA04852>