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
commit bf779e182e
Notes: sideshowbarker 2024-07-18 12:07:05 +09:00
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)