From 63874c59241aeaaac5a5bc3f0f9f02433f7c76f8 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Sun, 12 Apr 2020 23:58:14 +0200 Subject: Cosmetic. --- src/analysis/project.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/analysis/project.c b/src/analysis/project.c index 30fc4ea..e3b38b2 100644 --- a/src/analysis/project.c +++ b/src/analysis/project.c @@ -700,8 +700,7 @@ void g_study_project_detach_content(GStudyProject *project, GLoadedContent *cont memmove(&project->contents[i], &project->contents[i + 1], (project->count - i - 1) * sizeof(GLoadedContent *)); - project->contents = (GLoadedContent **)realloc(project->contents, - --project->count * sizeof(GLoadedContent *)); + project->contents = realloc(project->contents, --project->count * sizeof(GLoadedContent *)); g_study_project_unlock_contents(project); -- cgit v0.11.2-87-g4458