diff --git a/UI/api-interface.cpp b/UI/api-interface.cpp index 3a5413a05..3df04aff8 100644 --- a/UI/api-interface.cpp +++ b/UI/api-interface.cpp @@ -117,8 +117,8 @@ struct OBSStudioAPI : obs_frontend_callbacks { struct obs_frontend_source_list *sources) override { for (int i = 0; i < main->ui->transitions->count(); i++) { - OBSSource tr = main->ui->transitions->itemData(i) - .value(); + obs_source_t *tr = main->ui->transitions->itemData(i) + .value(); if (!tr) continue;