2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 15:35:51 +00:00

fixed errors for 0.9.22 dev version

This commit is contained in:
John Preston
2016-02-14 22:46:01 +03:00
parent f83644cec0
commit 0154be5138
6 changed files with 15 additions and 14 deletions

View File

@@ -977,7 +977,7 @@ void DocumentCancelLink::onClick(Qt::MouseButton button) const {
}
VoiceData::~VoiceData() {
if (!waveform.isEmpty() && waveform.at(0) == -1 && waveform.size() > sizeof(TaskId)) {
if (!waveform.isEmpty() && waveform.at(0) == -1 && waveform.size() > int32(sizeof(TaskId))) {
TaskId taskId = 0;
memcpy(&taskId, waveform.constData() + 1, sizeof(taskId));
Local::cancelTask(taskId);