summaryrefslogtreecommitdiffstats
path: root/src/crypto/asn1.c
diff options
context:
space:
mode:
authorMichael Brown2007-12-06 21:16:46 +0100
committerMichael Brown2007-12-06 21:16:46 +0100
commit1949641d102b0fdc8d4314abaee9ba055481fcc0 (patch)
tree0c302355c988e9b1d2c942bb1cc6d6170a933944 /src/crypto/asn1.c
parentKill off some warnings-problematic debug statements in ndp.c; the code (diff)
downloadipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.tar.gz
ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.tar.xz
ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.zip
Fix compiler warnings that appear only on OpenBSD.
Diffstat (limited to 'src/crypto/asn1.c')
-rw-r--r--src/crypto/asn1.c6
1 files changed, 3 insertions, 3 deletions
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;
}