libfprint/libfprint/drivers
Bastien Nocera 9da69dfc36 elan: Fix format mismatch warnings in debug output
libfprint/drivers/elan.c:351:12: warning: format specifies type 'unsigned short' but the argument has type 'unsigned char' [-Wformat]
                        dbg_buf(elandev->last_read, transfer->actual_length);
                        ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfprint/drivers/elan.c:46:21: note: expanded from macro 'dbg_buf'
    fp_dbg("%02hx", buf[0]);                                  \
    ~~~~~~~~~~~~~~~~^~~~~~~
include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug'
                               __VA_ARGS__)
                               ^~~~~~~~~~~
libfprint/drivers/elan.c:351:12: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
                        dbg_buf(elandev->last_read, transfer->actual_length);
                        ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfprint/drivers/elan.c:48:21: note: expanded from macro 'dbg_buf'
    fp_dbg("%04hx", buf[0] << 8 | buf[1]);                    \
    ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug'
                               __VA_ARGS__)
                               ^~~~~~~~~~~
libfprint/drivers/elan.c:351:12: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
                        dbg_buf(elandev->last_read, transfer->actual_length);
                        ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libfprint/drivers/elan.c:50:35: note: expanded from macro 'dbg_buf'
    fp_dbg("%04hx... (%d bytes)", buf[0] << 8 | buf[1], len)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug'
                               __VA_ARGS__)
                               ^~~~~~~~~~~
libfprint/drivers/elan.c:413:10: warning: format specifies type 'unsigned short' but the argument has type 'unsigned char' [-Wformat]
        dbg_buf(cmd->cmd, 2);
        ~~~~~~~~^~~~~~~~~~~~
libfprint/drivers/elan.c:46:21: note: expanded from macro 'dbg_buf'
    fp_dbg("%02hx", buf[0]);                                  \
    ~~~~~~~~~~~~~~~~^~~~~~~
include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug'
                               __VA_ARGS__)
                               ^~~~~~~~~~~
libfprint/drivers/elan.c:413:10: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
        dbg_buf(cmd->cmd, 2);
        ~~~~~~~~^~~~~~~~~~~~
libfprint/drivers/elan.c:48:21: note: expanded from macro 'dbg_buf'
    fp_dbg("%04hx", buf[0] << 8 | buf[1]);                    \
    ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug'
                               __VA_ARGS__)
                               ^~~~~~~~~~~
libfprint/drivers/elan.c:413:10: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
        dbg_buf(cmd->cmd, 2);
        ~~~~~~~~^~~~~~~~~~~~
libfprint/drivers/elan.c:50:35: note: expanded from macro 'dbg_buf'
    fp_dbg("%04hx... (%d bytes)", buf[0] << 8 | buf[1], len)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
include/glib-2.0/glib/gmessages.h:345:32: note: expanded from macro 'g_debug'
                               __VA_ARGS__)
                               ^~~~~~~~~~~
2018-11-13 11:54:41 +01:00
..
aes3k.c lib: Rename fpi_im_resize() to fpi_img_resize() 2018-11-09 13:36:52 +01:00
aes3k.h aes3k: extract common routines aes3k from aes4000 2013-08-12 11:18:18 +03:00
aes1610.c aes1610: Use constants for buffer sizes 2018-09-27 14:49:50 +02:00
aes1660.c lib: Remove fpi_imgdev_get_usb_dev() 2018-09-15 01:12:18 +02:00
aes1660.h lib: add AES1660 driver 2012-11-29 09:59:52 +01:00
aes2501.c aes2501: Use USB helpers 2018-09-27 14:49:50 +02:00
aes2501.h aes2501: Improve image contrast 2012-11-05 19:49:54 +01:00
aes2550.c drivers: Simplify libusb_alloc_transfer(0) calls 2018-09-19 17:06:17 +02:00
aes2550.h lib: Add AES2550/AES2810 driver 2012-10-11 15:24:14 +02:00
aes2660.c lib: Remove fpi_imgdev_get_usb_dev() 2018-09-15 01:12:18 +02:00
aes2660.h lib: add AES2660 driver 2012-11-29 09:59:52 +01:00
aes3500.c lib: Remove fpi_imgdev_get_usb_dev() 2018-09-15 01:12:18 +02:00
aes4000.c lib: Remove fpi_imgdev_get_usb_dev() 2018-09-15 01:12:18 +02:00
aeslib.c lib: Rename assembling.[ch] 2018-09-28 15:12:39 +02:00
aeslib.h lib: Move aeslib.[ch] to the drivers directory 2018-09-19 15:16:40 +02:00
aesx660.c aesx660: Use constants for buffer sizes 2018-09-27 14:49:50 +02:00
aesx660.h lib: move frame assembling routines into a separate file and make them usable by non-aes drivers 2015-12-16 13:24:38 -08:00
driver_ids.h drivers: Remove UPEKE2 driver 2018-05-15 10:46:54 +02:00
elan.c elan: Fix format mismatch warnings in debug output 2018-11-13 11:54:41 +01:00
elan.h drivers: Diminish fpi_ssm_get_user_data() usage 2018-09-18 18:30:42 +02:00
etes603.c drivers: Simplify libusb_alloc_transfer(0) calls 2018-09-19 17:06:17 +02:00
fdu2000.c lib: Remove fpi_imgdev_get_usb_dev() 2018-09-15 01:12:18 +02:00
upek_proto.c drivers: De-duplicate udf_crc() helper 2018-09-04 14:05:37 +02:00
upek_proto.h drivers: De-duplicate udf_crc() helper 2018-09-04 14:05:37 +02:00
upeksonly.c drivers: Simplify libusb_alloc_transfer(0) calls 2018-09-19 17:06:17 +02:00
upeksonly.h upeksonly: add support for 147e:1001 device 2015-12-16 13:24:38 -08:00
upektc.c drivers: Simplify libusb_alloc_transfer(0) calls 2018-09-19 17:06:17 +02:00
upektc.h upektc: add support for Eikon Touch 300 2012-11-29 12:35:05 +01:00
upektc_img.c drivers: Simplify libusb_alloc_transfer(0) calls 2018-09-19 17:06:17 +02:00
upektc_img.h Add upektc_img driver 2013-08-19 11:13:49 +03:00
upekts.c lib: Split off async functions 2018-09-28 15:12:39 +02:00
uru4000.c uru4000: Port URU4000 driver to USB helpers 2018-09-27 14:49:50 +02:00
vcom5s.c drivers: Simplify libusb_alloc_transfer(0) calls 2018-09-19 17:06:17 +02:00
vfs0050.c drivers: Simplify libusb_alloc_transfer(0) calls 2018-09-19 17:06:17 +02:00
vfs0050.h lib: Add VFS0050 driver 2016-11-05 20:58:18 -07:00
vfs101.c vfs101: Fix warning about value truncation 2018-11-13 11:54:41 +01:00
vfs301.c lib: Rename fpi_img_resize() to fpi_img_realloc() 2018-11-09 13:35:40 +01:00
vfs301_proto.c drivers: Simplify libusb_alloc_transfer(0) calls 2018-09-19 17:06:17 +02:00
vfs301_proto.h lib: Add VFS300/VFS301 driver 2012-08-28 19:51:59 +01:00
vfs301_proto_fragments.h lib: Add VFS300/VFS301 driver 2012-08-28 19:51:59 +01:00
vfs5011.c drivers: Simplify libusb_alloc_transfer(0) calls 2018-09-19 17:06:17 +02:00
vfs5011_proto.h lib: Add VFS5011 driver 2015-01-31 13:19:11 +03:00