cast ptr
This commit is contained in:
parent
fa7e993ec2
commit
8aa65958d0
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ pub fn makeContext(allocator: *std.mem.Allocator, plugin_uri: []const u8) !Conte
|
|||
};
|
||||
defer c.lilv_node_free(uri);
|
||||
|
||||
const plugins: *const c.LilvPlugins = c.lilv_world_get_all_plugins(world);
|
||||
const plugins: *const c.LilvPlugins = c.lilv_world_get_all_plugins(world).?;
|
||||
|
||||
var plugin: *const c.LilvPlugin = c.lilv_plugins_get_by_uri(plugins, uri) orelse blk: {
|
||||
std.debug.warn("Plugin <{}> not found\n", .{plugin_uri});
|
||||
|
|
Loading…
Reference in a new issue