mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-08 18:15:59 +03:00
iso7816.c:Solve compiler sign compare warn with pragma
This commit is contained in:
1 parent
73c2b6498b
commit
767fdeb0ca
1 file changed
+5
-1
@@ -297,7 +297,11 @@ uint32_t ISO7816_XfrBlockTPDU_T0(const uint8_t *pAPDU,
|
||||
}
|
||||
}
|
||||
/* Handle INS ^ 0xff */
|
||||
else if ( pAPDU[1] == (procByte ^ 0xff)) {
|
||||
else
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wsign-compare"
|
||||
if ( pAPDU[1] == (procByte ^ 0xff)) {
|
||||
#pragma GCC diagnostic pop
|
||||
TRACE_INFO("HdlINS+\n\r");
|
||||
if (cmdCase == CASE2) {
|
||||
/* receive data from card */
|
||||
|
||||
Reference in new issue
Block a user