diff options
Diffstat (limited to 'Libraries/LibCore/IODevice.h')
-rw-r--r-- | Libraries/LibCore/IODevice.h | 4 |
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); |