From be29f27e254317b713c7a0f007d6e959ee2a3905 Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Sat, 20 Oct 2012 12:27:52 +0300 Subject: [PATCH] upeke2: Fix build-time warnings Fix warnings reported by gcc https://bugs.freedesktop.org/show_bug.cgi?id=56439 --- 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);