mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-02 23:23:05 +00:00
graphics/twm4nx/src/ctwm4nx.cxx: Fix a printf format warning
This commit is contained in:
parent
b8e1819bf0
commit
df09b14f18
1 changed files with 1 additions and 1 deletions
|
|
@ -393,7 +393,7 @@ void CTwm4Nx::genMqName(void)
|
|||
unsigned long randvalue =
|
||||
(unsigned long)std::random() & 0x00fffffful;
|
||||
|
||||
std::asprintf(&m_queueName, "Twm4Nx%06ul", randvalue);
|
||||
std::asprintf(&m_queueName, "Twm4Nx%06lu", randvalue);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue