From 1949641d102b0fdc8d4314abaee9ba055481fcc0 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 6 Dec 2007 14:16:46 -0600 Subject: Fix compiler warnings that appear only on OpenBSD. --- src/crypto/asn1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/crypto/asn1.c') diff --git a/src/crypto/asn1.c b/src/crypto/asn1.c index 2ff82008..0a69162a 100644 --- a/src/crypto/asn1.c +++ b/src/crypto/asn1.c @@ -75,8 +75,8 @@ static int asn1_start_object ( struct asn1_cursor *cursor, len_len = 1; } if ( cursor->len < len_len ) { - DBGC ( cursor, "ASN1 %p bad length field length %d (max %d)\n", - cursor, len_len, cursor->len ); + DBGC ( cursor, "ASN1 %p bad length field length %d (max " + "%zd)\n", cursor, len_len, cursor->len ); goto notfound; } @@ -88,7 +88,7 @@ static int asn1_start_object ( struct asn1_cursor *cursor, cursor->len--; } if ( cursor->len < len ) { - DBGC ( cursor, "ASN1 %p bad length %d (max %d)\n", + DBGC ( cursor, "ASN1 %p bad length %d (max %zd)\n", cursor, len, cursor->len ); goto notfound; } -- cgit v1.2.3-55-g7522