pipewire-v4l2: avoid overflow in id calculation

This commit is contained in:
Wim Taymans 2021-11-17 13:16:27 +01:00
parent f5f66d1718
commit c387e83c65

View file

@ -1838,7 +1838,7 @@ static void *v4l2_mmap(void *addr, size_t length, int prot,
{
void *res;
struct file *file;
uint32_t id;
off64_t id;
struct pw_map_range range;
struct buffer *buf;
struct spa_data *data;