commit | bfe6d04d9c73de1f3fd5b28d115fa80202fd1776 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Thu Feb 26 00:57:18 2015 -0500 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu Feb 26 20:00:03 2015 +0000 |
tree | 139d7ee3557c981c1a419de71df1d436db1685e1 | |
parent | bf8dfe8aaf6671fbca809ba51c39f67a24d198dc [diff] |
v4l2: use uintmax_t for times There is no guarantee that the backing value for the various time fields are ints or longs which makes printfs annoying. Lets cast them to the uintmax_t type so we can use the j flag and not worry about truncation. * v4l2.c (v4l2_ioctl): Use j and uintmax_t when printing tv_sec/tv_usec.