From df09b14f1830e5495ced718984559eb9201b5b96 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 13 Nov 2020 14:24:20 +0900 Subject: [PATCH] graphics/twm4nx/src/ctwm4nx.cxx: Fix a printf format warning --- graphics/twm4nx/src/ctwm4nx.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/twm4nx/src/ctwm4nx.cxx b/graphics/twm4nx/src/ctwm4nx.cxx index c6640f9d3..6048db049 100644 --- a/graphics/twm4nx/src/ctwm4nx.cxx +++ b/graphics/twm4nx/src/ctwm4nx.cxx @@ -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); } /**