aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/padding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/padding.c b/src/padding.c
index da453cd..a161ec7 100644
--- a/src/padding.c
+++ b/src/padding.c
@@ -60,7 +60,7 @@ static AES_StatusCode aes_fill_with_padding_pkcs7(
AES_ErrorDetails* err_details)
{
AES_UNUSED_PARAMETER(err_details);
- memset(dest, padding_size, padding_size);
+ memset(dest, (int) padding_size, padding_size);
return AES_SUCCESS;
}