summaryrefslogtreecommitdiff
path: root/Libraries/LibC/stdio.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-23 15:27:33 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-23 15:27:33 +0200
commitdd924b730a7cd0bc1d5997f87e12a1df847f5961 (patch)
tree89431b78fcc151b2a6f01fe1ea11349903f79a55 /Libraries/LibC/stdio.cpp
parent2fe6b3725aef79effc9858cc73ab21c571dc5046 (diff)
downloadserenity-dd924b730a7cd0bc1d5997f87e12a1df847f5961.zip
Kernel+LibC: Fix various build issues introduced by ssize_t
Now that ssize_t is derived from size_t, we have to
Diffstat (limited to 'Libraries/LibC/stdio.cpp')
-rw-r--r--Libraries/LibC/stdio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibC/stdio.cpp b/Libraries/LibC/stdio.cpp
index 0bd0f0e679..249ad9aa01 100644
--- a/Libraries/LibC/stdio.cpp
+++ b/Libraries/LibC/stdio.cpp
@@ -993,7 +993,7 @@ void dbgputch(char ch)
syscall(SC_dbgputch, ch);
}
-int dbgputstr(const char* characters, int length)
+ssize_t dbgputstr(const char* characters, ssize_t length)
{
int rc = syscall(SC_dbgputstr, characters, length);
__RETURN_WITH_ERRNO(rc, rc, -1);