driver-hidpp20: cast an internal log priority enumeration to the general one
Fixes an 'enum-conversion' warning by clang.
@@ -1604,7 +1604,7 @@ hidpp20_log(void *userdata, enum hidpp_log_priority priority, const char *format
{
struct ratbag_device *device = userdata;
- log_msg_va(device->ratbag, priority, format, args);
+ log_msg_va(device->ratbag, (enum ratbag_log_priority)priority, format, args);
}
static void
