Subject: CVS commit: src/dist/ipf/lib
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 04/21/2007 11:16:54
Module Name:	src
Committed By:	dsl
Date:		Sat Apr 21 11:16:54 UTC 2007

Modified Files:
	src/dist/ipf/lib: printstate.c

Log Message:
On amd64 U_QUAD_T is (probably) 'unsigned long', but "%qd" expects to see
a "long long" - giving a compilation warning.
Check for the presence of PRIu64 and use that in preference.
Adjust code to avoid multiple printf() calls.
Use unsigned format specifiers in all cases.


To generate a diff of this commit:
cvs rdiff -r1.1.1.6 -r1.2 src/dist/ipf/lib/printstate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.