diff mbox

PATCH: Auth: Make a correct cast

Message ID 1280568598.2116.5.camel@wido-laptop.pcextreme.nl (mailing list archive)
State New, archived
Headers show

Commit Message

Wido den Hollander July 31, 2010, 9:29 a.m. UTC
None
diff mbox

Patch

From bdb0acaaeb03bfc39e0dfab276e693b2f2e7c1c1 Mon Sep 17 00:00:00 2001
From: Wido den Hollander <wido@widodh.nl>
Date: Sat, 31 Jul 2010 11:27:24 +0200
Subject: [PATCH] auth: Make a correct cast

---
 src/auth/Crypto.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/auth/Crypto.cc b/src/auth/Crypto.cc
index 102c8d2..26b7b5c 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)
 {
-- 
1.7.0.4