AsyncSocket::getBufferedAmount should be unsigned

This commit is contained in:
Alex Hultman
2020-06-26 06:07:36 +02:00
parent 35c1a2292c
commit 162fa965ee
+2 -2
View File
@@ -96,8 +96,8 @@ protected:
} }
/* Returns the user space backpressure. */ /* Returns the user space backpressure. */
int getBufferedAmount() { unsigned int getBufferedAmount() {
return (int) getAsyncSocketData()->buffer.size(); return (unsigned int) getAsyncSocketData()->buffer.size();
} }
/* Returns the text representation of an IPv4 or IPv6 address */ /* Returns the text representation of an IPv4 or IPv6 address */