Use a better way to calculate POINTER_WIDTH suggested by pjd@.
This commit is contained in:
parent
0f2ffc4e31
commit
2c8aff0a04
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user