diff options
Diffstat (limited to 'Source/cmListFileLexer.c')
-rw-r--r-- | Source/cmListFileLexer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListFileLexer.c b/Source/cmListFileLexer.c index 01e099e..57c4509 100644 --- a/Source/cmListFileLexer.c +++ b/Source/cmListFileLexer.c @@ -2127,7 +2127,7 @@ static void cmListFileLexerAppend(cmListFileLexer* lexer, const char* text, } /* We need to extend the buffer. */ - temp = malloc(newSize); + temp = (char*)malloc(newSize); if(lexer->token.text) { memcpy(temp, lexer->token.text, lexer->token.length); |