Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 0e11a2ba authored by Hannah von Reth's avatar Hannah von Reth

Fix build on Windows

Reviewers: cgilles, #windows

Differential Revision: https://phabricator.kde.org/D6862
parent 30cf485e
......@@ -118,7 +118,7 @@ void term_destination (j_compress_ptr cinfo)
/* Write any data remaining in the buffer */
if (datacount > 0)
{
if (dest->outDevice->write((char*)dest->buffer, datacount) != (ssize_t) datacount)
if (dest->outDevice->write((char*)dest->buffer, datacount) != (size_t) datacount)
ERREXIT(cinfo, JERR_FILE_WRITE);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment