graphics/twm4nx/src/ctwm4nx.cxx: Fix a printf format warning

This commit is contained in:
YAMAMOTO Takashi 2020-11-13 14:24:20 +09:00 committed by Xiang Xiao
parent b8e1819bf0
commit df09b14f18

View File

@ -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);
}
/**