Skip to content

Commit 44e8f39

Browse files
committed
wolfcrypt/src/kdf.c: fix -Wconversions in wc_SRTCP_KDF_ex().
1 parent 5bb22d8 commit 44e8f39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/kdf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ static void wc_srtp_kdf_first_block(const byte* salt, word32 saltSz, int kdrIdx,
942942
* @param [in] aes AES object to encrypt with.
943943
* @return 0 on success.
944944
*/
945-
static int wc_srtp_kdf_derive_key(byte* block, byte indexSz, byte label,
945+
static int wc_srtp_kdf_derive_key(byte* block, int indexSz, byte label,
946946
byte* key, word32 keySz, Aes* aes)
947947
{
948948
int i;

0 commit comments

Comments
 (0)