Permalink
Browse files

Remove compiler warnings.

  • Loading branch information...
g4klx committed Jan 9, 2018
1 parent d3996c4 commit 51e0bf0315932388308b9f577d8862b9796da947
Showing with 3 additions and 3 deletions.
  1. +1 −1 Nextion.cpp
  2. +2 −2 TFTSerial.cpp
View
@@ -758,6 +758,6 @@ void CNextion::sendCommand(const char* command)
{
assert(command != NULL);
m_serial->write((unsigned char*)command, ::strlen(command));
m_serial->write((unsigned char*)command, (unsigned int)::strlen(command));
m_serial->write((unsigned char*)"\xFF\xFF\xFF", 3U);
}
View
@@ -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));
}

0 comments on commit 51e0bf0

Please sign in to comment.