From owner-cvs-lib Mon Jan 12 19:12:58 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA19293 for cvs-lib-outgoing; Mon, 12 Jan 1998 19:12:58 -0800 (PST) (envelope-from owner-cvs-lib) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA19183; Mon, 12 Jan 1998 19:11:38 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id NAA04852; Tue, 13 Jan 1998 13:35:20 +1030 (CST) Message-Id: <199801130305.NAA04852@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: John Birrell cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libmytinfo mkcapsort.c In-reply-to: Your message of "Mon, 12 Jan 1998 19:07:11 -0800." <199801130307.TAA22859@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 Jan 1998 13:35:17 +1030 From: Mike Smith Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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. \\