increment is evaluated before assignment so this should silence the warning...not sure if correct or not though

This commit is contained in:
DarthArgus
2015-10-13 11:14:36 -05:00
parent e62615f94e
commit 6010ad6b90
@@ -50,8 +50,10 @@ void StreamCipher::ProcessString(byte *outString, const byte *inString, unsigned
void StreamCipher::ProcessString(byte *inoutString, unsigned int length)
{
while(length--)
*inoutString++ = ProcessByte(*inoutString); //TODO: order of operations issue here, per the warning
while(length--) {
*inoutString++;
*inoutString = ProcessByte(*inoutString);
}
}
bool HashModule::Verify(const byte *digestIn)