From 2d90473d09794d2d427a910df531d63799400a73 Mon Sep 17 00:00:00 2001 From: Valient Gough Date: Mon, 17 Jun 2013 03:17:31 +0000 Subject: [PATCH] fix compiler signed comparison warning git-svn-id: http://encfs.googlecode.com/svn/trunk@100 db9cf616-1c43-0410-9cb8-a902689de0d6 --- cipher/CipherV1.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cipher/CipherV1.cpp b/cipher/CipherV1.cpp index bcf78b5..92b471d 100644 --- a/cipher/CipherV1.cpp +++ b/cipher/CipherV1.cpp @@ -407,7 +407,8 @@ bool CipherV1::pseudoRandomize( byte *buf, int len ) bool CipherV1::setKey(const CipherKey &keyIv) { Lock l(_hmacMutex); - LOG_IF(ERROR, _keySize != keyIv.size()) << "Mismatched key size: passed " + LOG_IF(ERROR, (int)_keySize != keyIv.size()) + << "Mismatched key size: passed " << keyIv.size() << ", expecting " << _keySize; // Key is actually key plus iv, so extract the different parts.