mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +00:00
Remove compiler warnings.
This commit is contained in:
parent
d3996c4758
commit
51e0bf0315
2 changed files with 3 additions and 3 deletions
|
|
@ -480,7 +480,7 @@ void CTFTSerial::displayBitmap(unsigned char x, unsigned char y, const char* fil
|
|||
m_serial->write((unsigned char*)"\x1B\x0D", 2U);
|
||||
m_serial->write(&x, 1U);
|
||||
m_serial->write(&y, 1U);
|
||||
m_serial->write((unsigned char*)filename, ::strlen(filename));
|
||||
m_serial->write((unsigned char*)filename, (unsigned int)::strlen(filename));
|
||||
m_serial->write((unsigned char*)"\xFF", 1U);
|
||||
}
|
||||
|
||||
|
|
@ -497,5 +497,5 @@ void CTFTSerial::displayText(const char* text)
|
|||
{
|
||||
assert(text != NULL);
|
||||
|
||||
m_serial->write((unsigned char*)text, ::strlen(text));
|
||||
m_serial->write((unsigned char*)text, (unsigned int)::strlen(text));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue