Skip to content

Commit

Permalink
Ooops
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl committed Jan 4, 2024
1 parent 2158b89 commit ca7c51b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mumble/PluginManifest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ void PluginManifest::parse_v1_0_0(Poco::AutoPtr< Poco::XML::Document > document)
Poco::AutoPtr< Poco::XML::NodeList > pluginNodes = assets->getElementsByTagName("plugin");

for (std::size_t i = 0; i < pluginNodes->length(); ++i) {
Poco::XML::Element *current = dynamic_cast< Poco::XML::Element * >(pluginNodes->item(static_cast<unsigned long>(i));
Poco::XML::Element *current =
dynamic_cast< Poco::XML::Element * >(pluginNodes->item(static_cast< unsigned long >(i)));
if (!current) {
throw PluginManifestException("Plugin manifest uses \"plugin\" node of unexpected type");
}
Expand Down

0 comments on commit ca7c51b

Please sign in to comment.