summaryrefslogtreecommitdiffhomepage
path: root/dinput/dinput.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-05 15:46:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-10-05 14:32:40 +0000
commit39ea3871c1b3f594df846bc0b9a627c9880ecea4 (patch)
treeb22c45755dad8486718eeffba90a36771e83af8f /dinput/dinput.cpp
parentf92e6b78505ee4bcb148cd07cdae984279b8f6ca (diff)
use attributes only at declaration, not definition
Diffstat (limited to 'dinput/dinput.cpp')
-rw-r--r--dinput/dinput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dinput/dinput.cpp b/dinput/dinput.cpp
index c3509dd6..8a3d0f4a 100644
--- a/dinput/dinput.cpp
+++ b/dinput/dinput.cpp
@@ -17,7 +17,7 @@ diptr di_t::init_di_()
nullptr);
!SUCCEEDED(hr))
{
- qDebug() << "can't make dinput:" << (void*)hr;
+ qDebug() << "can't make dinput:" << (void*)(LONG_PTR)hr;
qDebug() << "crashing!";
std::abort();
}