Re: [Qemu-devel] [PATCH v2 9/9] ccid-card-passthru: Use size_t for index

2019-02-15 Thread Marc-André Lureau
On Thu, Feb 14, 2019 at 9:27 PM Philippe Mathieu-Daudé wrote: > > The variable 'opt_bytes' is an index to the data[] array. > Use size_t for indexes. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Marc-André Lureau > --- > hw/usb/ccid-card-passthru.c | 7 --- > 1 file changed, 4 i

[Qemu-devel] [PATCH v2 9/9] ccid-card-passthru: Use size_t for index

2019-02-14 Thread Philippe Mathieu-Daudé
The variable 'opt_bytes' is an index to the data[] array. Use size_t for indexes. Signed-off-by: Philippe Mathieu-Daudé --- hw/usb/ccid-card-passthru.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/usb/ccid-card-passthru.c b/hw/usb/ccid-card-passthru.c index 083eb