Re: [Qemu-devel] [PATCH v2 8/9] ccid-card-passthru: Use size_t to hold size argument

2019-02-15 Thread Marc-André Lureau
Hi On Thu, Feb 14, 2019 at 9:28 PM Philippe Mathieu-Daudé wrote: > > check_atr() is called once with a unsigned argument. > Since there is no need to use a signed type, use a size_t. > > Signed-off-by: Philippe Mathieu-Daudé and make data const? Reviewed-by: Marc-André Lureau > --- > hw/usb

[Qemu-devel] [PATCH v2 8/9] ccid-card-passthru: Use size_t to hold size argument

2019-02-14 Thread Philippe Mathieu-Daudé
check_atr() is called once with a unsigned argument. Since there is no need to use a signed type, use a size_t. Signed-off-by: Philippe Mathieu-Daudé --- hw/usb/ccid-card-passthru.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/hw/usb/ccid-card-passthru.c b/hw/u