Commit e616477b authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix compiler warning about signed and unsigned comparisons

parent ef8cc371
......@@ -570,7 +570,7 @@ static int announce_SendSAPAnnounce( sap_handler_t *p_sap,
i_ret = net_Write( p_sap, p_session->p_address->i_wfd, NULL,
p_session->psz_data,
p_session->i_length );
if( i_ret != (int)p_session->i_length )
if( i_ret != (unsigned int)p_session->i_length )
{
msg_Warn( p_sap, "SAP send failed on address %s (%i %i)",
p_session->p_address->psz_address,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment