diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-05 15:46:01 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-10-05 14:32:40 +0000 |
commit | 39ea3871c1b3f594df846bc0b9a627c9880ecea4 (patch) | |
tree | b22c45755dad8486718eeffba90a36771e83af8f /dinput/dinput.cpp | |
parent | f92e6b78505ee4bcb148cd07cdae984279b8f6ca (diff) |
use attributes only at declaration, not definition
Diffstat (limited to 'dinput/dinput.cpp')
-rw-r--r-- | dinput/dinput.cpp | 2 |
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(); } |