$NetBSD: patch-aa,v 1.1 2004/11/10 16:53:51 manu Exp $ --- src/racoon/ipsec_doi.c.orig 2004-11-10 19:03:38.000000000 +0100 +++ src/racoon/ipsec_doi.c 2004-11-10 19:03:39.000000000 +0100 @@ -350,9 +350,9 @@ authmethod = s->authmethod; #endif plog(LLV_DEBUG, LOCATION, NULL, "Compared: DB:Peer\n"); plog(LLV_DEBUG, LOCATION, NULL, "(lifetime = %ld:%ld)\n", - s->lifetime, tsap->lifetime); + (long)s->lifetime, (long)tsap->lifetime); plog(LLV_DEBUG, LOCATION, NULL, "(lifebyte = %zu:%zu)\n", s->lifebyte, tsap->lifebyte); plog(LLV_DEBUG, LOCATION, NULL, "enctype = %s:%s\n", s_oakley_attr_v(OAKLEY_ATTR_ENC_ALG, @@ -3820,9 +3820,9 @@ plog(LLV_ERROR, LOCATION, NULL, "lifetime mismatched " "in a proposal, " "prev:%ld curr:%u.\n", - pp->lifetime, t); + (long)pp->lifetime, t); goto end; } break; case IPSECDOI_ATTR_SA_LD_TYPE_KB: