Use a better way to calculate POINTER_WIDTH suggested by pjd@.

This commit is contained in:
David Malone 2004-05-30 10:10:41 +00:00
parent 0f2ffc4e31
commit 2c8aff0a04

View File

@ -37,7 +37,7 @@ __FBSDID("$FreeBSD$");
#include <sys/module.h>
#include <sys/linker.h>
#define POINTER_WIDTH (sizeof(void *) > 4 ? 18 : 10)
#define POINTER_WIDTH ((int)(sizeof(void *) * 2 + 2))
static void
printmod(int modid)