mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Amalgamate the two Trellis implementations and small cleanups.
This commit is contained in:
@@ -166,7 +166,7 @@ bool CDStarNetwork::writePoll(const char* text)
|
||||
|
||||
buffer[4] = 0x0AU; // Poll with text
|
||||
|
||||
unsigned int length = ::strlen(text);
|
||||
unsigned int length = (unsigned int)::strlen(text);
|
||||
|
||||
// Include the nul at the end also
|
||||
::memcpy(buffer + 5U, text, length + 1U);
|
||||
|
||||
Reference in New Issue
Block a user