aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/DirectConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DirectConnection.cpp b/src/DirectConnection.cpp
index ede5251..713b3ac 100644
--- a/src/DirectConnection.cpp
+++ b/src/DirectConnection.cpp
@@ -231,7 +231,7 @@ namespace sibs
usize receivedTotalSize = 0;
while(receivedTotalSize < MAX_RECEIVED_DATA_SIZE)
{
- usize dataAvailableSize;
+ int dataAvailableSize;
int receiveSizeDataTypeSize = sizeof(dataAvailableSize);
if(UDT::getsockopt(socket, 0, UDT_RCVDATA, &dataAvailableSize, &receiveSizeDataTypeSize) == UDT::ERROR)
{