From 45617a3285430c7a3961b78234713f457c088bda Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 19 Jun 2016 00:36:46 +0200 Subject: Linux/MacOSX: Solve compilation error linked to Camellia cipher addition. --- src/Volume/Cipher.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Volume/Cipher.cpp') diff --git a/src/Volume/Cipher.cpp b/src/Volume/Cipher.cpp index 2f3594ab..743ef34c 100644 --- a/src/Volume/Cipher.cpp +++ b/src/Volume/Cipher.cpp @@ -245,12 +245,12 @@ namespace VeraCrypt // Camellia void CipherCamellia::Decrypt (byte *data) const { - camellia_decrypt (data, data, (uint64 *) ScheduledKey.Ptr()); + camellia_decrypt (data, data, ScheduledKey.Ptr()); } void CipherCamellia::Encrypt (byte *data) const { - camellia_encrypt (data, data, (uint64 *) ScheduledKey.Ptr()); + camellia_encrypt (data, data, ScheduledKey.Ptr()); } size_t CipherCamellia::GetScheduledKeySize () const @@ -260,7 +260,7 @@ namespace VeraCrypt void CipherCamellia::SetCipherKey (const byte *key) { - camellia_set_key (key, (uint64 *) ScheduledKey.Ptr()); + camellia_set_key (key, ScheduledKey.Ptr()); } -- cgit v1.2.3