• Bastien Nocera's avatar
    vfs101: Fix warning about value truncation · e5f4021a
    Bastien Nocera authored
    libfprint/drivers/vfs101.c:854:6: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
            if (abs(count - VFS_IMG_BEST_CONTRAST) < abs(vdev->best_clevel - VFS_IMG_BEST_CONTRAST))
                ^
    libfprint/drivers/vfs101.c:854:6: note: use function 'labs' instead
            if (abs(count - VFS_IMG_BEST_CONTRAST) < abs(vdev->best_clevel - VFS_IMG_BEST_CONTRAST))
                ^~~
                labs
    e5f4021a
Name
Last commit
Last update
..
drivers Loading commit data...
nbis Loading commit data...
drivers_api.h Loading commit data...
empty_file Loading commit data...
fp_internal.h Loading commit data...
fpi-assembling.c Loading commit data...
fpi-assembling.h Loading commit data...
fpi-async.c Loading commit data...
fpi-async.h Loading commit data...
fpi-core.c Loading commit data...
fpi-core.h Loading commit data...
fpi-data.c Loading commit data...
fpi-data.h Loading commit data...
fpi-dev-img.c Loading commit data...
fpi-dev-img.h Loading commit data...
fpi-dev.c Loading commit data...
fpi-dev.h Loading commit data...
fpi-img-pixman.c Loading commit data...
fpi-img.c Loading commit data...
fpi-img.h Loading commit data...
fpi-log.h Loading commit data...
fpi-poll.c Loading commit data...
fpi-poll.h Loading commit data...
fpi-ssm.c Loading commit data...
fpi-ssm.h Loading commit data...
fpi-sync.c Loading commit data...
fpi-usb.c Loading commit data...
fpi-usb.h Loading commit data...
fprint-list-supported-devices.c Loading commit data...
fprint-list-udev-rules.c Loading commit data...
fprint.h Loading commit data...
meson.build Loading commit data...