svn commit: r290475 - in head: share/man/man9 sys/kern sys/sys

Hans Petter Selasky hps at selasky.org
Sat Nov 7 11:18:40 UTC 2015


On 11/07/15 09:37, Svatopluk Kraus wrote:
> +#define        SYSCTL_NULL_U64_PTR ((unsigned *)NULL)

Hi Conrad,

All the NULL macros must have correct type according to the size-check 
asserts. Else they won't have any purpose:

#define	SYSCTL_NULL_U64_PTR ((uint64_t *)NULL)
#define	SYSCTL_NULL_S64_PTR ((int64_t *)NULL)

#define SYSCTL_NULL_U8_PTR ((uint8_t *)NULL)
#define SYSCTL_NULL_S8_PTR ((int8_t *)NULL)

And so one. Can you fix this?

--HPS



More information about the svn-src-all mailing list