$OpenBSD: patch-src_include_spf_internal_h,v 1.1.1.1 2008/01/30 15:58:50 okan Exp $ --- src/include/spf_internal.h.orig Wed Feb 23 23:10:49 2005 +++ src/include/spf_internal.h Thu Jan 24 23:03:04 2008 @@ -57,13 +57,13 @@ /* It is a bad idea to change this for the same reasons as mentioned * above for SPF_MAX_DNS_MECH */ -#define SPF_MAX_DNS_PTR 5 +#define SPF_MAX_DNS_PTR 10 #endif #ifndef SPF_MAX_DNS_MX /* It is a bad idea to change this for the same reasons as mentioned * above for SPF_MAX_DNS_MECH */ -#define SPF_MAX_DNS_MX 5 +#define SPF_MAX_DNS_MX 10 #endif #if 1 @@ -71,7 +71,7 @@ static inline size_t _align_sz(size_t s) { return (s + (_ALIGN_SZ - 1 - (((s - 1) & (_ALIGN_SZ - 1))))); } static inline char * _align_ptr(char *s) - { return (s + (_ALIGN_SZ - 1 - ((((unsigned int)s - 1) & (_ALIGN_SZ - 1))))); } + { return (s + (_ALIGN_SZ - 1 - ((((size_t)s - 1) & (_ALIGN_SZ - 1))))); } #else static inline size_t _align_sz(size_t s) { return s; } static inline char * _align_ptr(char *s) { return s; }