summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Plugins/CCpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp
index c6c32d1e..d8aeb6b4 100644
--- a/lib/Plugins/CCpp.cpp
+++ b/lib/Plugins/CCpp.cpp
@@ -396,7 +396,7 @@ static void InstallDebugInfos(const char *pDebugDumpDir,
* yet, having it truly unlimited is bad too,
* therefore we are using LARGE, but still limited buffer.
*/
- char *buff = xmalloc(64*1024);
+ char *buff = (char*) xmalloc(64*1024);
while (fgets(buff, 64*1024, pipeout_fp))
{
strchrnul(buff, '\n')[0] = '\0';