[PATCH] v4l2: Fix compile of mpers-m32 API

Eugene Syromyatnikov evgsyr at gmail.com
Sun Aug 30 10:54:49 UTC 2020

On Sun, Aug 30, 2020 at 12:10 PM Hauke Mehrtens <hauke at hauke-m.de> wrote:
> In the mpers-m32 API the value64 member of the struct_v4l2_ext_control
> structure is of type int32_t.

mpers headers are generated, and the fact that int64_t[1] is 32-bit
wide when -m32 compiler option is used is rather a bug on libc's part.
See also [2].

[1] https://gitlab.com/strace/strace/-/blob/v5.8/types/v4l2.h#L175
[2] https://github.com/strace/musl/commit/6a63dbca01b26dd68483429746ec90e34551ace4

Eugene Syromyatnikov
mailto:evgsyr at gmail.com
xmpp:esyr at jabber.{ru|org}

More information about the Strace-devel mailing list