Fixing loads of msvc warnings (mainly size_t vs int issues).
This commit is contained in:
@@ -38,7 +38,7 @@ public:
|
||||
~SendBuffer();
|
||||
|
||||
inline size_t GetSendBufLeft() const {
|
||||
int bytesLeft = sendBufAllocated - sendBufUsed;
|
||||
int bytesLeft = (int)(sendBufAllocated - sendBufUsed);
|
||||
return bytesLeft < 0 ? (size_t)0 : (size_t)bytesLeft;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user