mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-09-20 00:11:31 +00:00
dea1a0bee2
`sizes` members participate in multiplication and subsequent assignment into port->bpf, which has size_t. So LGTM rightfully complains, there's a chance the multiplication will overflow before the assignment happens. Should have no influence on performance since 64 bit multiplication is as fast, and since the struct is constified, a wise compiler should make sure it doesn't take excess space either. Fixes LGTM warning: Multiplication result may overflow 'unsigned int' before it is converted to 'size_t'. |
||
---|---|---|
.. | ||
audiotestsrc.c | ||
meson.build | ||
plugin.c | ||
render.c |