AsyncSocket::getBufferedAmount should be unsigned
This commit is contained in:
+2
-2
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user