davidedmundson created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. davidedmundson requested review of this revision.
REVISION SUMMARY n stores the read/transferred bytes. This returns a ssize_t. We were casting to an int, which theoretically is a loss of data. In practice it isn't an issue as we only read a max of MAX_IPC_SIZE at a time, which would fit in an int. REPOSITORY R241 KIO BRANCH master REVISION DETAIL https://phabricator.kde.org/D17051 AFFECTED FILES src/ioslaves/file/file_unix.cpp To: davidedmundson Cc: kde-frameworks-devel, michaelh, ngraham, bruns