Cast the argument to HPPA_FRAME_ROUND to uintptr_t

This commit is contained in:
skrll 2007-12-22 14:06:47 +00:00
parent 6fffc8ef3c
commit 0361d1fef2

View File

@ -1,4 +1,4 @@
/* $NetBSD: frame.h,v 1.6 2007/11/18 12:18:21 skrll Exp $ */
/* $NetBSD: frame.h,v 1.7 2007/12/22 14:06:47 skrll Exp $ */
/* $OpenBSD: frame.h,v 1.11 1999/11/25 18:28:06 mickey Exp $ */
@ -54,7 +54,7 @@
#define HPPA_FRAME_ESR4 (-28)
#define HPPA_FRAME_EDP (-32)
#define HPPA_FRAME_ROUND(x) \
(((x) + HPPA_FRAME_SIZE - 1) & ~(HPPA_FRAME_SIZE - 1))
((((uintptr_t)x) + HPPA_FRAME_SIZE - 1) & ~(HPPA_FRAME_SIZE - 1))
/*
* Macros to decode processor status word.