Minor fixes

This commit is contained in:
SirLynix 2023-01-21 19:10:51 +01:00
parent a1480fc2db
commit ba3f26d074
3 changed files with 2 additions and 3 deletions

View File

@ -1803,4 +1803,3 @@ namespace Nz
#include <Nazara/Core/DebugOff.hpp>

View File

@ -378,7 +378,7 @@ namespace Nz
using TextStyleFlags = Flags<TextStyle>;
constexpr TextStyleFlags TextStyle_Regular = 0;
constexpr TextStyleFlags TextStyle_Regular = TextStyleFlags{};
enum class VertexComponent
{

View File

@ -169,7 +169,7 @@ namespace Nz
IpAddress::IPv6 ipv6;
for (unsigned int i = 0; i < 8; ++i)
ipv6[i] = Nz::UInt16(rawIpV6[i * 2]) << 8 | rawIpV6[i * 2 + 1];
ipv6[i] = UInt16(rawIpV6[i * 2]) << 8 | rawIpV6[i * 2 + 1];
return IpAddress(ipv6, ntohs(addressv6->sin6_port));
}