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:
Rudi Heitbaum 2023-06-28 13:07:34 +00:00
parent 73e660627d
commit 5e69eace21

View File

@ -37,7 +37,7 @@ index f6aabfc615..496e1fcfa0 100644
+ contextStr = "pre-uninstall";
+ break;
+ default:
+ contextStr = StringUtils::Format("unknown(%d)", context);
+ contextStr = StringUtils::Format("unknown({})", static_cast<ADDON::LE_ADDON_CONTEXT>(context));
+ break;
+ }
+