Clean up some compiler warnings.

This commit is contained in:
Michael R Sweet
2025-02-22 19:48:09 -05:00
parent 6e2e4bbcc6
commit 1237599dea
6 changed files with 65 additions and 70 deletions

View File

@@ -241,7 +241,7 @@ _pdfioCryptoAESEncrypt(
if (len > 0)
{
// Pad the final buffer with (16 - len)...
memset(outbuffer + len, 16 - len, 16 - len);
memset(outbuffer + len, (int)(16 - len), 16 - len);
xor_with_iv(outbuffer, iv);
cipher((state_t*)outbuffer, ctx);