NWM_UDS: use sizeof(<var being used>) instead of hard-coded type (#4093)
* NWM_UDS: use sizeof(<var being used>) instead of hard-coded type Intend to fix #4090. ` node_map.node.second` type was changed to `u16` in #3985. However the type change wasn't reflected here. Should have used variable name instead to automatically do type change * NWM_UDS: ... and also the node.first one * NWM_UDS: ... and here * Network: bump version because we changed UDS packet layout * Update nwm_uds.cpp
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
namespace Network {
|
||||
|
||||
constexpr u32 network_version = 2; ///< The version of this Room and RoomMember
|
||||
constexpr u32 network_version = 3; ///< The version of this Room and RoomMember
|
||||
|
||||
constexpr u16 DefaultRoomPort = 24872;
|
||||
|
||||
|
Reference in New Issue
Block a user