summaryrefslogtreecommitdiff
path: root/Libraries/LibCore/IODevice.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-25 14:49:47 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-25 14:52:35 +0100
commitceec1a7d38d4c8941dbf537b85bd50f0030ffbec (patch)
tree2b137c37ae0f331bb3626583a619a3175ef614d4 /Libraries/LibCore/IODevice.h
parent9c6f7d3e7d2252ad2d51f2c7c7379cab867fa477 (diff)
downloadserenity-ceec1a7d38d4c8941dbf537b85bd50f0030ffbec.zip
AK: Make Vector use size_t for its size and capacity
Diffstat (limited to 'Libraries/LibCore/IODevice.h')
-rw-r--r--Libraries/LibCore/IODevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibCore/IODevice.h b/Libraries/LibCore/IODevice.h
index d9f2971769..081e21f015 100644
--- a/Libraries/LibCore/IODevice.h
+++ b/Libraries/LibCore/IODevice.h
@@ -58,8 +58,8 @@ public:
int read(u8* buffer, int length);
- ByteBuffer read(int max_size);
- ByteBuffer read_line(int max_size);
+ ByteBuffer read(size_t max_size);
+ ByteBuffer read_line(size_t max_size);
ByteBuffer read_all();
bool write(const u8*, int size);