mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Add a proper patch for compiling with gcc10. Closes: https://bugs.gentoo.org/722962 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
14 lines
344 B
Diff
14 lines
344 B
Diff
Fixes compilation with GCC10.
|
|
|
|
--- a/ifd/ifd.cpp
|
|
+++ b/ifd/ifd.cpp
|
|
@@ -958,7 +958,7 @@
|
|
else
|
|
l_atrLength=0;
|
|
rj=r->IfdPower(mode, Atr, &l_atrLength);
|
|
- switch (rj) {
|
|
+ switch (static_cast<NTSTATUS>(rj)) {
|
|
case STATUS_SUCCESS:
|
|
DEBUGLUN(Lun, DEBUG_MASK_IFD, "Success (ATR: %d bytes)\n", (int)l_atrLength);
|
|
rc=IFD_SUCCESS;
|