Enable and fix more warnings.

This commit is contained in:
Felix Geyer 2010-09-18 20:31:14 +02:00
parent 5da7d3fca6
commit 1678351d11
5 changed files with 7 additions and 5 deletions

View file

@ -135,7 +135,7 @@ bool HashedBlockStream::readHashedBlock()
}
if (m_blockSize == 0) {
if (hash.count(static_cast<char>(0)) != 32) {
if (hash.count('\0') != 32) {
// TODO error
Q_ASSERT(false);
return false;