diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-28 16:33:36 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-28 16:33:36 -0400 |
commit | 154ec0b9854de31debf53904eb26cca4a5388d00 (patch) | |
tree | e2896798fbe5c44b83b9973b707fe62826b0b2f1 | |
parent | 9be676d55b73bcc1be535c628cc5371c829c8958 (diff) |
TSocket: Use the correct return type for all the virtuals
-rw-r--r-- | include/pso/TSocket.h | 6 |
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); |