pipewire/spa
Konstantin Kharlamov dea1a0bee2 audiotestsrc: convert sizes to const size_t
`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'.
2021-07-05 23:30:45 +03:00
..
examples meson.build: add -D_GNU_SOURCE to the project arguments 2021-06-09 07:47:51 +00:00
include spa: utils: defs: fix SPA_FOR_EACH_ELEMENT usage example 2021-06-28 15:07:02 +02:00
plugins audiotestsrc: convert sizes to const size_t 2021-07-05 23:30:45 +03:00
tests meson.build: adds summary() to optional programs 2021-06-29 17:23:37 +00:00
tools json: don't escape / 2021-06-24 16:18:59 +02:00
meson.build spa: meson.build: look for libcamera under another name 2021-06-27 18:24:15 +00:00