Remove DWORD cast to fix i386 build
This commit is contained in:
parent
b394f13ce6
commit
b676f04a8d
@ -2,7 +2,7 @@ COMMENT = DigiDoc4 GUI client for signing and encrypting documents
|
||||
|
||||
V = 4.2.11
|
||||
DISTNAME = qdigidoc4_${V}.110-1804
|
||||
REVISION = 3
|
||||
REVISION = 4
|
||||
EXTRACT_SUFX = .tar.xz
|
||||
WRKDIST = ${WRKDIR}/qdigidoc4
|
||||
PKGNAME = qdigidoc4-${V}
|
||||
|
15
security/qdigidoc4/patches/patch-common_QPCSC_cpp
Normal file
15
security/qdigidoc4/patches/patch-common_QPCSC_cpp
Normal file
@ -0,0 +1,15 @@
|
||||
Remove DWORD cast to fix i386 build
|
||||
https://github.com/open-eid/qt-common/pull/124
|
||||
|
||||
Index: common/QPCSC.cpp
|
||||
--- common/QPCSC.cpp.orig
|
||||
+++ common/QPCSC.cpp
|
||||
@@ -513,7 +513,7 @@ bool QPCSCReader::updateState( quint32 msec )
|
||||
if(!d->d->context)
|
||||
return false;
|
||||
d->state.dwCurrentState = d->state.dwEventState;
|
||||
- switch(DWORD(SC(GetStatusChange, d->d->context, msec, &d->state, 1U))) //INFINITE
|
||||
+ switch(SC(GetStatusChange, d->d->context, msec, &d->state, 1U))
|
||||
{
|
||||
case SCARD_S_SUCCESS: return true;
|
||||
case SCARD_E_TIMEOUT: return msec == 0;
|
Loading…
x
Reference in New Issue
Block a user