remove warnings
diff --git a/skeletons/constr_SET.c b/skeletons/constr_SET.c
index 70fb271..8e614ec 100644
--- a/skeletons/constr_SET.c
+++ b/skeletons/constr_SET.c
@@ -234,7 +234,7 @@
 			 */
 			edx = t2m->el_no;
 			ctx->step = (edx << 1) + 1;
-			ASN_DEBUG("Got tag %s (%s), edx %d",
+			ASN_DEBUG("Got tag %s (%s), edx %zd",
 				ber_tlv_tag_string(tlv_tag), td->name, edx);
 		} else if(specs->extensible == 0) {
 			ASN_DEBUG("Unexpected tag %s "
@@ -272,7 +272,7 @@
 		 * already decoded elements.
 		 */
 		if(ASN_SET_ISPRESENT2((char *)st + specs->pres_offset, edx)) {
-			ASN_DEBUG("SET %s: Duplicate element %s (%d)",
+			ASN_DEBUG("SET %s: Duplicate element %s (%zd)",
 				td->name, elements[edx].name, edx);
 			RETURN(RC_FAIL);
 		}
@@ -662,7 +662,7 @@
 
 			if(ASN_SET_ISPRESENT2((char *)st + specs->pres_offset,
 					edx)) {
-				ASN_DEBUG("SET %s: Duplicate element %s (%d)",
+				ASN_DEBUG("SET %s: Duplicate element %s (%zd)",
 				td->name, elements[edx].name, edx);
 				RETURN(RC_FAIL);
 			}