upektc: Fix format string on architectures where 64bit is not long

This commit is contained in:
Benjamin Berg 2021-07-01 18:27:13 +02:00 committed by Benjamin Berg
parent 304219b65c
commit 575bd369d5

View file

@ -411,7 +411,7 @@ dev_init (FpImageDevice *dev)
break;
default:
fp_err ("Device variant %lu is not known", driver_data);
fp_err ("Device variant %" G_GUINT64_FORMAT " is not known", driver_data);
g_assert_not_reached ();
fpi_image_device_open_complete (dev, fpi_device_error_new (FP_DEVICE_ERROR_GENERAL));
return;