[X2Go-Commits] [x2gokdrive] 05/09: x2gokdriveremote.c: Fix "return discards ‘const’ qualifier from pointer target type" compiler warning.

git-admin at x2go.org git-admin at x2go.org
Tue Jul 16 23:43:43 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gokdrive.

commit 6c59ed5431d6cbdbb3f006c90f1b7fa2e69ca3ad
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Jul 16 23:29:33 2019 +0200

    x2gokdriveremote.c: Fix "return discards ‘const’ qualifier from pointer target type" compiler warning.
---
 x2gokdriveremote.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x2gokdriveremote.c b/x2gokdriveremote.c
index 0efe67d..b62fc51 100644
--- a/x2gokdriveremote.c
+++ b/x2gokdriveremote.c
@@ -1744,7 +1744,7 @@ void clear_cache_data(uint32_t maxsize)
 }
 
 static
-char* getAgentStateAsString(int state)
+const char* getAgentStateAsString(int state)
 {
     switch(state)
     {

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git


More information about the x2go-commits mailing list