seafile/seafile-9.0.6-gcc-14.1.patch

23 lines
968 B
Diff
Raw Permalink Normal View History

From 34e743ffb6d8d01ea7d2669037f70fec53e4e54a Mon Sep 17 00:00:00 2001
From: Joffrey <j-off@live.fr>
Date: Thu, 23 May 2024 13:52:58 +0200
Subject: [PATCH] GCC 14.1: Fix incompatible pointer type
---
daemon/repo-mgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/daemon/repo-mgr.c b/daemon/repo-mgr.c
index 8be4f04b6..f970abf01 100644
--- a/daemon/repo-mgr.c
+++ b/daemon/repo-mgr.c
@@ -4885,7 +4885,7 @@ check_case_conflict (const char *path1, const char *path2, char **conflict_path)
// Since file creation is asynchronous, the file may not have been created locally at the time of checking for case conflicts,
// so an additional check for the name of the file being created is required.
static gboolean
-is_adding_files_case_conflict (GList **adding_files, const char *name, const char **conflict_path)
+is_adding_files_case_conflict (GList **adding_files, const char *name, char **conflict_path)
{
GList *ptr;
SeafStat st;