libfprint/libfprint
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
..
drivers elan: Fix format mismatch warnings in debug output 2018-11-13 11:54:41 +01:00
nbis mindtct: Fix a memory leak in morph_TF_map() 2018-10-12 00:54:39 +00:00
drivers_api.h lib: Include "fpi-dev.h" in drivers header 2018-09-28 15:12:39 +02:00
empty_file build: Remove the need to modify sources for new drivers 2018-05-24 12:23:39 +02:00
fp_internal.h lib: Tidy fp_internal.h 2018-09-28 15:12:39 +02:00
fpi-assembling.c doc: Add fpi-assembling section to the docs 2018-11-09 14:08:04 +01:00
fpi-assembling.h lib: Change "unsigned" to "unsigned int" 2018-11-09 14:20:19 +01:00
fpi-async.c doc: Add fpi-async section to the docs 2018-11-09 15:32:39 +01:00
fpi-async.h lib: Split off async functions 2018-09-28 15:12:39 +02:00
fpi-core.c doc: Add fpi-core and fpi-core-img sections to the docs 2018-11-09 15:32:39 +01:00
fpi-core.h lib: Move driver definitions to fpi-core.h 2018-09-28 15:12:39 +02:00
fpi-data.c doc: Add fpi-data section to the docs 2018-11-09 15:32:39 +01:00
fpi-data.h lib: Split off fpi_print_data helpers 2018-09-28 15:12:39 +02:00
fpi-dev-img.c lib: Fix uninitialised variable in fpi_imgdev_image_captured() 2018-11-13 11:54:41 +01:00
fpi-dev-img.h lib: Split off imgdev functions 2018-09-28 15:12:39 +02:00
fpi-dev.c doc: Add more functions to fpi-dev section 2018-11-09 15:32:39 +01:00
fpi-dev.h lib: Remove titles from headers 2018-09-28 15:12:39 +02:00
fpi-img-pixman.c lib: Rename fpi_im_resize() to fpi_img_resize() 2018-11-09 13:36:52 +01:00
fpi-img.c doc: Fix parameter names in fp_minutia_get_coords() docs 2018-11-09 13:58:21 +01:00
fpi-img.h lib: Rename fpi_im_resize() to fpi_img_resize() 2018-11-09 13:36:52 +01:00
fpi-log.h doc: Hide G_LOG_DOMAIN from gtk-doc 2018-11-09 15:32:39 +01:00
fpi-poll.c lib: Make fpi_poll_is_setup() private 2018-11-09 13:33:02 +01:00
fpi-poll.h lib: Make fpi_poll_is_setup() private 2018-11-09 13:33:02 +01:00
fpi-ssm.c Revert "lib: Mark fpi_ssm_get_user_data as deprecated" 2018-09-28 15:12:39 +02:00
fpi-ssm.h lib: Remove titles from headers 2018-09-28 15:12:39 +02:00
fpi-sync.c lib: Fix up third-person usage in API docs 2018-10-23 11:24:56 +02:00
fpi-usb.c lib: Add USB transfer helpers 2018-09-27 14:49:50 +02:00
fpi-usb.h lib: Remove titles from headers 2018-09-28 15:12:39 +02:00
fprint-list-supported-devices.c lib: Supported devices list is for master, not stable 2018-06-12 12:46:19 +02:00
fprint-list-udev-rules.c elan: Remove supported devices from udev whitelist 2018-08-09 14:45:15 +02:00
fprint.h doc: Add LIBFPRINT_DEPRECATED to the docs 2018-11-09 15:32:39 +01:00
meson.build lib: Split off imgdev functions 2018-09-28 15:12:39 +02:00