From b6a92a97ce56e2bdf08f7346e2b95f76b251ec0a Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Thu, 17 May 2018 08:55:07 -0600 Subject: [PATCH] convert to byte to fix warning --- 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 f6387c105..2e5cb96e9 100755 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -686,7 +686,7 @@ static int SetShortInt(byte* input, word32* inOutIdx, word32 number, } /* set number of bytes for integer and update index value */ - input[*inOutIdx + 1] = len; + input[*inOutIdx + 1] = (byte)len; *inOutIdx = idx; return len + 2; /* size of integer bytes plus ASN TAG and length byte */