aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-17 10:41:55 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-17 10:41:55 +0300
commitc1249e2b58f08af25afa1235b4e10fd481009566 (patch)
tree386994ae2d50e0bfcece50e2f4dba2c1baa87ca1 /src
parentutils: code dedupe (diff)
downloadaes-tools-c1249e2b58f08af25afa1235b4e10fd481009566.tar.gz
aes-tools-c1249e2b58f08af25afa1235b4e10fd481009566.zip
fix compiler warnings
Diffstat (limited to 'src')
-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;
}