From 82eea8b5a759715ba06c13d14c048460f965419a Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Wed, 1 Mar 2023 17:22:19 -0400 Subject: TTcpSocket: Make `stat()` return a `short` oof, this caused `send(u8 *)` to not match, but making it return a `short` caused it to suddenly match. --- include/pso/TTcpSocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/pso/TTcpSocket.h b/include/pso/TTcpSocket.h index 9740a3a..8e8dab9 100644 --- a/include/pso/TTcpSocket.h +++ b/include/pso/TTcpSocket.h @@ -28,7 +28,7 @@ public: virtual short send(u8 *data) override; virtual int send(u8 *data, size_t size) override; - int stat(); + short stat(); int test_connection(); static void notify(short size, short sock_fd); -- cgit v1.2.3-13-gbd6f