REVIEWED: TextJoin(), convert const char ** to char**
It generates multiple issues: https://c-faq.com/ansi/constmismatch.html
This commit is contained in:
parent
8e450e4446
commit
e227371265
2 changed files with 2 additions and 2 deletions
|
|
@ -1629,7 +1629,7 @@ char *TextInsert(const char *text, const char *insert, int position)
|
|||
|
||||
// Join text strings with delimiter
|
||||
// REQUIRES: memset(), memcpy()
|
||||
char *TextJoin(const char **textList, int count, const char *delimiter)
|
||||
char *TextJoin(char **textList, int count, const char *delimiter)
|
||||
{
|
||||
static char buffer[MAX_TEXT_BUFFER_LENGTH] = { 0 };
|
||||
memset(buffer, 0, MAX_TEXT_BUFFER_LENGTH);
|
||||
|
|
|
|||
Loading…
Reference in a new issue