1
0
mirror of https://github.com/deadw00d/AROS.git synced 2025-12-06 13:11:35 +00:00

cast to BYTE to suppress warnings from clang

This commit is contained in:
Kalamatee
2025-07-15 07:41:27 +01:00
committed by deadwood
parent c05429ea64
commit f3d727c826

View File

@ -692,14 +692,14 @@ void Send_IPCP_req(){
AddByte( &p,LocalIP[3] );
//if( ppp_libbase->enable_dns ){ // ask DNS addresses too...
AddByte( &p, 129 );
AddByte( &p, (BYTE)129 );
AddByte( &p, 0x06 );
AddByte( &p, PrimaryDNS[0] );
AddByte( &p, PrimaryDNS[1] );
AddByte( &p, PrimaryDNS[2] );
AddByte( &p, PrimaryDNS[3] );
AddByte( &p, 131 );
AddByte( &p, (BYTE)131 );
AddByte( &p, 0x06 );
AddByte( &p, SecondaryDNS[0] );
AddByte( &p, SecondaryDNS[1] );