Quellcode durchsuchen

Fixed compilation warning

Paul-Louis Ageneau vor 5 Jahren
Ursprung
Commit
9e22770281
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      src/dtlssrtptransport.cpp

+ 2 - 2
src/dtlssrtptransport.cpp

@@ -82,7 +82,7 @@ bool DtlsSrtpTransport::sendMedia(message_ptr message) {
 		return false;
 		return false;
 	}
 	}
 
 
-	int size = message->size();
+	int size = int(message->size());
 	PLOG_VERBOSE << "Send size=" << size;
 	PLOG_VERBOSE << "Send size=" << size;
 
 
 	// The RTP header has a minimum size of 12 bytes
 	// The RTP header has a minimum size of 12 bytes
@@ -151,7 +151,7 @@ void DtlsSrtpTransport::incoming(message_ptr message) {
 		return;
 		return;
 	}
 	}
 
 
-	int size = message->size();
+	int size = int(message->size());
 	if (size == 0)
 	if (size == 0)
 		return;
 		return;