Fix compilation of device/libcamera/fake_camera.c
on 32bits
This commit is contained in:
parent
6530e5f5b6
commit
8b1d066dfc
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
void fake_camera_sensor(struct media_v2_topology *topology)
|
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) {
|
if (!ents) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user