virtual-image: Remove unnecessary cast

This commit is contained in:
Bastien Nocera 2020-04-09 16:17:46 +02:00
parent eefc954f91
commit f2ae3fb8c5

View file

@ -277,7 +277,7 @@ dev_init (FpImageDevice *dev)
{
g_warning ("Could not listen on unix socket: %s", error->message);
fpi_image_device_open_complete (FP_IMAGE_DEVICE (dev), g_steal_pointer (&error));
fpi_image_device_open_complete (dev, g_steal_pointer (&error));
return;
}