From 8bb7fa64a9d1abed9b563eca9f95d3ac1a8b6cdc Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Tue, 7 Mar 2023 10:07:04 -0400 Subject: T{Tcp,}Socket: Make `send(u8 *, size_t)` return the proper type --- include/pso/TSocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/pso/TSocket.h') diff --git a/include/pso/TSocket.h b/include/pso/TSocket.h index 6f79e13..e4c5c5e 100644 --- a/include/pso/TSocket.h +++ b/include/pso/TSocket.h @@ -43,7 +43,7 @@ public: virtual short close() = 0; virtual void recv() = 0; virtual short send(u8 *data) = 0; - virtual int send(u8 *data, size_t size) = 0; + virtual short send(u8 *data, size_t size) = 0; int resolve_domain(char *domain); void set_ip_address(u32 addr); -- cgit v1.2.3-13-gbd6f