qt5: Prevent unsigned arithmetics in QDateTime::addSecs()'s arguments
commitb51ba6ce4e725faeb69eaa5198136690a52fea1c
authorJan Kundrát <jkt@flaska.net>
Wed, 12 Dec 2012 12:46:07 +0000 (12 13:46 +0100)
committerJan Kundrát <jkt@flaska.net>
Wed, 12 Dec 2012 12:46:07 +0000 (12 13:46 +0100)
tree4640b3366a0de0eac57ec947e96715c0780d67e2
parent40d4c44cc9240c18d1cb6955cce633c0e2c032a5
qt5: Prevent unsigned arithmetics in QDateTime::addSecs()'s arguments

This function has changed from accepting "int" to taking an "qint64" in Qt5
which unmasked my error where I multiplied -3600 with an unsigned int, leading
to an unsigned int instead of int. I really didn't know this.
src/Imap/Parser/Response.cpp