Fix compilation of device/libcamera/fake_camera.c on 32bits

This commit is contained in:
Kamil Trzcinski 2022-07-20 12:21:33 +02:00
parent 6530e5f5b6
commit 8b1d066dfc

View File

@ -15,7 +15,7 @@
void fake_camera_sensor(struct media_v2_topology *topology)
{
struct media_v2_entity *ents = (struct media_v2_entity *)topology->ptr_entities;
struct media_v2_entity *ents = (struct media_v2_entity *)(intptr_t)topology->ptr_entities;
if (!ents) {
return;
}