remove warning
diff --git a/skeletons/BOOLEAN.c b/skeletons/BOOLEAN.c
index 9f0c9bf..a9ac6c4 100644
--- a/skeletons/BOOLEAN.c
+++ b/skeletons/BOOLEAN.c
@@ -254,6 +254,7 @@
 	BOOLEAN_t *st = (BOOLEAN_t *)*sptr;
 
 	(void)opt_codec_ctx;
+    (void)td;
 	(void)constraints;
 
 	if(!st) {
diff --git a/skeletons/OCTET_STRING_oer.c b/skeletons/OCTET_STRING_oer.c
index 9f878d1..7fa76c0 100644
--- a/skeletons/OCTET_STRING_oer.c
+++ b/skeletons/OCTET_STRING_oer.c
@@ -141,7 +141,7 @@
             break;
         }
 
-        if(st->size != unit_bytes * ct_size) {
+        if(st->size != unit_bytes * (size_t)ct_size) {
             ASN_DEBUG(
                 "Trying to encode %s (%zu bytes) which doesn't fit SIZE "
                 "constraint (%d)",