summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-01-27 15:56:03 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-01-27 15:56:03 +0100
commitcbfc35985d06b7869bab8a7cc9678a62cdf32ff1 (patch)
tree6b41bbd8a3b2847d770904d730190d04a555e35d
parent631c85c85f2e82bfdf7f6c58c5866f12ad0836a6 (diff)
proto/vjoystick: fix build
-rw-r--r--proto-vjoystick/vjoystick.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto-vjoystick/vjoystick.cpp b/proto-vjoystick/vjoystick.cpp
index bf8f3cea..ce3af3cc 100644
--- a/proto-vjoystick/vjoystick.cpp
+++ b/proto-vjoystick/vjoystick.cpp
@@ -105,7 +105,8 @@ module_status vjoystick::initialize()
if (!vJoyEnabled())
msg = tr("vjoystick won't work without the driver installed.");
else if (WORD VerDll, VerDrv; !DriverMatch(&VerDll, &VerDrv))
- msg = tr("driver/SDK version mismatch (dll 0x%1, driver 0x%2)", (void*)VerDll, (void*)VerDrv);
+ msg = tr("driver/SDK version mismatch (dll 0x%1, driver 0x%2)")
+ .arg(QString::number(VerDll, 16), QString::number(VerDrv, 16));
else
{
int code;