OpenSC/OpenSC — pull request #102 by mbroz (2012-11-29 14:18:14+00:00)
Title: opensc: fix spurious gcc overflow warning

On some architectures (ppc & s390) gcc produces these warnings
pkcs15-cardos.c: In function 'cardos_select_pin_reference':
pkcs15-cardos.c:177:5: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]

pkcs15-incrypto34.c: In function 'incrypto34_select_pin_reference':
pkcs15-incrypto34.c:196:5: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]

Remove this warning by reordering test (there is no real bug anyway).

Signed-off-by: Milan Broz