aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/OCTET_STRING_oer.c
diff options
context:
space:
mode:
Diffstat (limited to 'skeletons/OCTET_STRING_oer.c')
-rw-r--r--skeletons/OCTET_STRING_oer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/skeletons/OCTET_STRING_oer.c b/skeletons/OCTET_STRING_oer.c
index b30dbe70..8df3356a 100644
--- a/skeletons/OCTET_STRING_oer.c
+++ b/skeletons/OCTET_STRING_oer.c
@@ -116,7 +116,7 @@ OCTET_STRING_encode_oer(asn_TYPE_descriptor_t *td,
if(!st) ASN__ENCODE_FAILED;
- ASN_DEBUG("Encoding %s %d as OCTET STRING", td ? td->name : "", st->size);
+ ASN_DEBUG("Encoding %s %zu as OCTET STRING", td ? td->name : "", st->size);
if(ct_size >= 0) {
/*
@@ -144,7 +144,7 @@ OCTET_STRING_encode_oer(asn_TYPE_descriptor_t *td,
if(st->size != unit_bytes * (size_t)ct_size) {
ASN_DEBUG(
"Trying to encode %s (%zu bytes) which doesn't fit SIZE "
- "constraint (%d)",
+ "constraint (%zu)",
td->name, st->size, ct_size);
ASN__ENCODE_FAILED;
}