summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pso/TTcpSocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pso/TTcpSocket.cpp b/src/pso/TTcpSocket.cpp
index beb5565..949f962 100644
--- a/src/pso/TTcpSocket.cpp
+++ b/src/pso/TTcpSocket.cpp
@@ -93,7 +93,7 @@ void TTcpSocket::notify(short size, short sock_fd) {
}
}
-int TTcpSocket::send(u8 *data, size_t size) {
+short TTcpSocket::send(u8 *data, size_t size) {
if (sock_fd() != -1) {
if (!m_is_encrypted) {
m_send_crypt.encrypt(data, size);