ccid-card-emulated: fix cast warning/error
commitdaa500cab6a4f8fdaa1a0689a5d39a6b67213801
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 3 Jan 2023 11:08:05 +0000 (3 15:08 +0400)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 16 Jan 2023 17:46:03 +0000 (16 18:46 +0100)
tree1cf2818f63d2b9aec0e4557b763617721cb117fe
parent09aa7be196ebd94d68dc06c62fdcea040e2bd196
ccid-card-emulated: fix cast warning/error

../hw/usb/ccid-card-emulated.c: In function 'handle_apdu_thread':
../hw/usb/ccid-card-emulated.c:251:24: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  251 |                 assert((unsigned long)event > 1000);

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230103110814.3726795-2-marcandre.lureau@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/usb/ccid-card-emulated.c