From 154ec0b9854de31debf53904eb26cca4a5388d00 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Tue, 28 Feb 2023 16:33:36 -0400 Subject: TSocket: Use the correct return type for all the virtuals --- include/pso/TSocket.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/pso/TSocket.h b/include/pso/TSocket.h index bbf60fc..b11d8ef 100644 --- a/include/pso/TSocket.h +++ b/include/pso/TSocket.h @@ -36,10 +36,10 @@ public: TSocket(TObject *parent); virtual ~TSocket(); - virtual int open() = 0; - virtual int close() = 0; + virtual short open() = 0; + virtual short close() = 0; virtual void recv() = 0; - virtual int send(u8 *data) = 0; + virtual short send(u8 *data) = 0; virtual int send(u8 *data, size_t size) = 0; int resolve_domain(char *domain); -- cgit v1.2.3-13-gbd6f