summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/CCpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Plugins/CCpp.cpp')
-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 176a77a4..86ada29c 100644
--- a/lib/Plugins/CCpp.cpp
+++ b/lib/Plugins/CCpp.cpp
@@ -133,7 +133,7 @@ void CAnalyzerCCpp::InstallDebugInfos(const std::string& pPackage)
bool already_installed = false;
int r;
- while (r = read(pipeout[0], buff, sizeof(buff) - 1) > 0)
+ while ((r = read(pipeout[0], buff, sizeof(buff) - 1)) > 0)
{
/* Was before read, does not seem to be needed
fd_set rsfd;