mirror of
https://github.com/znc/znc.git
synced 2026-07-04 00:41:38 +02:00
Fix more warnings and #197
This commit is contained in:
+1
-1
@@ -443,7 +443,7 @@ private:
|
||||
CString sOuterKey, sInnerKey;
|
||||
CString::size_type iKeyLength = sRealKey.length();
|
||||
for (unsigned int i = 0; i < 64; i++) {
|
||||
int r = (i < iKeyLength ? sRealKey[i] : 0);
|
||||
char r = (i < iKeyLength ? sRealKey[i] : '\0');
|
||||
sOuterKey += r ^ 0x5c;
|
||||
sInnerKey += r ^ 0x36;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user