]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
auth: fix cast
authorWido den Hollander <wido@widodh.nl>
Sat, 31 Jul 2010 16:14:21 +0000 (09:14 -0700)
committerSage Weil <sage@newdream.net>
Sat, 31 Jul 2010 16:14:21 +0000 (09:14 -0700)
src/auth/Crypto.cc

index 102c8d234c021a27cc8e118a5c12027ad530003d..26b7b5ccc616719bd5fdc25d38256ee25427804b 100644 (file)
@@ -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)
 {