From 36e3ed784a58ae96fa9b7cade64ce14b9ff384cd Mon Sep 17 00:00:00 2001 From: jed Date: Sat, 14 Jul 2012 08:42:22 -0700 Subject: [PATCH] . --- src/ECIES.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ECIES.cpp b/src/ECIES.cpp index b4c417f111..447794f93a 100644 --- a/src/ECIES.cpp +++ b/src/ECIES.cpp @@ -138,7 +138,7 @@ std::vector CKey::encryptECIES(CKey& otherKey, const std::vector< secret.zero(); std::vector out(plaintext.size() + ECIES_HMAC_SIZE + ECIES_ENC_KEY_SIZE + ECIES_ENC_BLK_SIZE, 0); - unsigned int len = 0, bytesWritten; + int len = 0, bytesWritten; // output IV memcpy(&(out.front()), iv.begin(), ECIES_ENC_BLK_SIZE);