From b24644307117182c4e7398abae6c521b12c60e93 Mon Sep 17 00:00:00 2001 From: jmallett Date: Sun, 7 Jul 2002 21:45:59 +0000 Subject: Make printval() take a 'void *' thus negating any assumptions the compiler may try to make about the alignment of the dereferenced datum. --- bin/ps/print.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ps/print.c') diff --git a/bin/ps/print.c b/bin/ps/print.c index 87b2e5d..a7c95bd 100644 --- a/bin/ps/print.c +++ b/bin/ps/print.c @@ -65,7 +65,7 @@ __FBSDID("$FreeBSD$"); #include "lomac.h" #include "ps.h" -static void printval(char *, VAR *); +static void printval(void *, VAR *); void printheader(void) @@ -668,7 +668,7 @@ priorityr(KINFO *k, VARENT *ve) * structures. */ static void -printval(char *bp, VAR *v) +printval(void *bp, VAR *v) { static char ofmt[32] = "%"; const char *fcp; -- cgit v1.1