mirror of https://gerrit.osmocom.org/simtrace2
iso7816.c:Solve compiler sign compare warn with pragma
This commit is contained in:
parent
73c2b6498b
commit
767fdeb0ca
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue