Kernel: Remove obsolete size_t casts

This commit is contained in:
Gunnar Beutner
2021-06-17 11:15:55 +02:00
committed by Andreas Kling
parent 9b14a8605a
commit bf779e182e
8 changed files with 11 additions and 11 deletions

View File

@@ -67,7 +67,7 @@ KResultOr<size_t> Process::do_write(FileDescription& description, const UserOrKe
return seek_result.error();
}
while ((size_t)total_nwritten < data_size) {
while (total_nwritten < data_size) {
while (!description.can_write()) {
if (!description.is_blocking()) {
if (total_nwritten > 0)