Index: examples/socket/socket-options-ipv6.cc |
=================================================================== |
--- a/examples/socket/socket-options-ipv6.cc |
+++ b/examples/socket/socket-options-ipv6.cc |
@@ -131,7 +131,7 @@ |
//Set socket options, it is also possible to set the options after the socket has been created/connected. |
if (ipv6Tclass != 0) |
{ |
- source->SetIpv6Tclass (ipv6Tclass); |
+ source->SetIpv6Tclass (static_cast<uint8_t> (ipv6Tclass)); |
} |
if (ipv6Hoplimit > 0) |