From 9c8e4f558c7e5437d963ec16e2883175e6b88b28 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Thu, 28 Oct 2021 21:05:19 +0200 Subject: [PATCH] Explicit cast to `int` --- wolfcrypt/src/asn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index a8307eabe..47e7f2c17 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -10378,7 +10378,7 @@ static const CertNameData certNameSubject[] = { }; static const int certNameSubjectSz = - sizeof(certNameSubject) / sizeof(CertNameData); + (int) (sizeof(certNameSubject) / sizeof(CertNameData)); /* Full email OID. */ static const byte emailOid[] = {