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:
parent
c18a7896e0
commit
1b1439c6af
2 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue