diff options
Diffstat (limited to 'Kernel/Syscalls/write.cpp')
-rw-r--r-- | Kernel/Syscalls/write.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/write.cpp b/Kernel/Syscalls/write.cpp index 88c8217321..b2585745dc 100644 --- a/Kernel/Syscalls/write.cpp +++ b/Kernel/Syscalls/write.cpp @@ -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) |