diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-12-06 14:16:46 -0600 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-12-06 14:16:46 -0600 |
commit | 1949641d102b0fdc8d4314abaee9ba055481fcc0 (patch) | |
tree | 0c302355c988e9b1d2c942bb1cc6d6170a933944 /src/crypto/asn1.c | |
parent | 798f7f6b8e007a6075222c2491ddc1416ce937a9 (diff) | |
download | ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.tar.gz |
Fix compiler warnings that appear only on OpenBSD.
Diffstat (limited to 'src/crypto/asn1.c')
-rw-r--r-- | src/crypto/asn1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/asn1.c b/src/crypto/asn1.c index 2ff820085..0a69162a8 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; } |