summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-28 16:33:36 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-28 16:33:36 -0400
commit154ec0b9854de31debf53904eb26cca4a5388d00 (patch)
treee2896798fbe5c44b83b9973b707fe62826b0b2f1 /include
parent9be676d55b73bcc1be535c628cc5371c829c8958 (diff)
TSocket: Use the correct return type for all the virtuals
Diffstat (limited to 'include')
-rw-r--r--include/pso/TSocket.h6
1 files changed, 3 insertions, 3 deletions
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);