From cbfc35985d06b7869bab8a7cc9678a62cdf32ff1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Jan 2020 15:56:03 +0100 Subject: proto/vjoystick: fix build --- proto-vjoystick/vjoystick.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'proto-vjoystick') 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; -- cgit v1.2.3