summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/project.c3
1 files changed, 1 insertions, 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);