diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-04-12 21:58:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-04-12 21:58:14 (GMT) |
commit | 63874c59241aeaaac5a5bc3f0f9f02433f7c76f8 (patch) | |
tree | a70789c9302813effb88d425dec466684c10173c /src/analysis | |
parent | 5de93a90f20b9ce35d4799d521029f2fde5c6441 (diff) |
Cosmetic.
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/project.c | 3 |
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); |