summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/pso/TSocket.h2
-rw-r--r--include/pso/TTcpSocket.h2
2 files changed, 2 insertions, 2 deletions
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);
diff --git a/include/pso/TTcpSocket.h b/include/pso/TTcpSocket.h
index 6f18c3c..3373e3b 100644
--- a/include/pso/TTcpSocket.h
+++ b/include/pso/TTcpSocket.h
@@ -29,7 +29,7 @@ public:
virtual short close() override;
virtual void recv() override;
virtual short send(u8 *data) override;
- virtual int send(u8 *data, size_t size) override;
+ virtual short send(u8 *data, size_t size) override;
short stat();
void some_stub();