From: Wido den Hollander Date: Sat, 31 Jul 2010 16:14:21 +0000 (-0700) Subject: auth: fix cast X-Git-Tag: v0.22~356 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1d2219642643b234cc42c3d4c5ab3a79be388d1d;p=ceph.git auth: fix cast --- diff --git a/src/auth/Crypto.cc b/src/auth/Crypto.cc index 102c8d234c0..26b7b5ccc61 100644 --- a/src/auth/Crypto.cc +++ b/src/auth/Crypto.cc @@ -107,7 +107,7 @@ public: int decrypt(bufferptr& secret, const bufferlist& in, bufferlist& out); }; -static const unsigned char *aes_iv = CEPH_AES_IV; +static const unsigned char *aes_iv = (const unsigned char *)CEPH_AES_IV; int CryptoAES::create(bufferptr& secret) {