From a28d36a6dacccfcc393a7e306918dd9328446d47 Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Sat, 20 Oct 2012 12:27:52 +0300 Subject: [PATCH 2/6] UPEKE2: driver cleanup Fix warnings reported by gcc --- libfprint/drivers/upeke2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfprint/drivers/upeke2.c b/libfprint/drivers/upeke2.c index 3a7c2d8..94bc8ae 100644 --- a/libfprint/drivers/upeke2.c +++ b/libfprint/drivers/upeke2.c @@ -738,14 +738,14 @@ static void initsm_run_state(struct fpi_ssm *ssm) break; case SEND28_51: ; unsigned char dummy28_51[] = { 0x04, 0x0a, 0x00, 0x00, 0x00 }; - initsm_send_msg28_handler(ssm, 0x51, &dummy28_51, 5); + initsm_send_msg28_handler(ssm, 0x51, dummy28_51, 5); break; case READ28_51: initsm_read_msg_handler(ssm, read28_51_cb); break; case SEND28_07: ; unsigned char dummy28_07[] = { 0x04, 0x20, 0x00, 0x00, 0x00 }; - initsm_send_msg28_handler(ssm, 0x07, &dummy28_07, 5); + initsm_send_msg28_handler(ssm, 0x07, dummy28_07, 5); break; case READ28_07: initsm_read_msg_handler(ssm, read28_07_cb); -- 1.7.12.4