diff options
Diffstat (limited to 'lib/Plugins/CCpp.cpp')
| -rw-r--r-- | lib/Plugins/CCpp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index 176a77a..86ada29 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; |
