From eb0d82ada08a5a1f1c229acba8dcee0278603b89 Mon Sep 17 00:00:00 2001 From: truebrain Date: Sat, 17 Jan 2009 15:31:30 +0000 Subject: (svn r15123) -Fix [NoAI]: 'const char *' implies that the return value should not be free'd, which is should .. so make them 'char *' --- src/ai/api/ai_group.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai/api/ai_group.cpp') diff --git a/src/ai/api/ai_group.cpp b/src/ai/api/ai_group.cpp index 5dc676303..ea3af7d8c 100644 --- a/src/ai/api/ai_group.cpp +++ b/src/ai/api/ai_group.cpp @@ -52,7 +52,7 @@ return AIObject::DoCommand(0, group_id, 0, CMD_RENAME_GROUP, name); } -/* static */ const char *AIGroup::GetName(GroupID group_id) +/* static */ char *AIGroup::GetName(GroupID group_id) { if (!IsValidGroup(group_id)) return NULL; -- cgit v1.2.3-70-g09d2