mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 06:57:50 +00:00
kodi: fix services patch for libfmt-10
use explicit cast to ADDON::LE_ADDON_CONTEXT when formatting this patch is required in addition to kodi PR23453 to build with libfmt-10
This commit is contained in:
parent
73e660627d
commit
5e69eace21
@ -37,7 +37,7 @@ index f6aabfc615..496e1fcfa0 100644
|
|||||||
+ contextStr = "pre-uninstall";
|
+ contextStr = "pre-uninstall";
|
||||||
+ break;
|
+ break;
|
||||||
+ default:
|
+ default:
|
||||||
+ contextStr = StringUtils::Format("unknown(%d)", context);
|
+ contextStr = StringUtils::Format("unknown({})", static_cast<ADDON::LE_ADDON_CONTEXT>(context));
|
||||||
+ break;
|
+ break;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user