diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-27 15:56:03 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2020-01-27 15:56:03 +0100 |
commit | cbfc35985d06b7869bab8a7cc9678a62cdf32ff1 (patch) | |
tree | 6b41bbd8a3b2847d770904d730190d04a555e35d /proto-vjoystick | |
parent | 631c85c85f2e82bfdf7f6c58c5866f12ad0836a6 (diff) |
proto/vjoystick: fix build
Diffstat (limited to 'proto-vjoystick')
-rw-r--r-- | proto-vjoystick/vjoystick.cpp | 3 |
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; |