Skip to content

Commit c63ca04

Browse files
convert to type int for return value
1 parent d06221c commit c63ca04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wolfcrypt/src/pkcs7.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12741,7 +12741,7 @@ int wc_PKCS7_DecodeEnvelopedData(wc_PKCS7* pkcs7, byte* in,
1274112741
pkcs7->cachedEncryptedContentSz = 0;
1274212742
}
1274312743

12744-
ret = pkcs7->totalEncryptedContentSz - padLen;
12744+
ret = (int)pkcs7->totalEncryptedContentSz - padLen;
1274512745
#ifndef NO_PKCS7_STREAM
1274612746
pkcs7->stream->aad = NULL;
1274712747
pkcs7->stream->aadSz = 0;

0 commit comments

Comments
 (0)