mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-22 08:05:49 +08:00
Merge branch 'master' into mqtt
This commit is contained in:
@@ -168,7 +168,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