diff options
author | Slávek Banko <[email protected]> | 2018-02-04 16:28:35 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-02-04 16:28:52 +0100 |
commit | 1e9cf2640cfcf4b400c5f75c42f2437dcd82f06c (patch) | |
tree | 985bba410e90a924662cd73f2227a9564765e900 /src | |
parent | 2c2086d2420a077534e105c64a7e73b83b35e4ca (diff) | |
download | gtk-qt-engine-1e9cf2640cfcf4b400c5f75c42f2437dcd82f06c.tar.gz gtk-qt-engine-1e9cf2640cfcf4b400c5f75c42f2437dcd82f06c.zip |
Fix FTBFS with clang
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 1045125941918516e9cbf55f8162c521e3588317)
Diffstat (limited to 'src')
-rw-r--r-- | src/qt_qt_wrapper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt_qt_wrapper.cpp b/src/qt_qt_wrapper.cpp index a701f52..2474058 100644 --- a/src/qt_qt_wrapper.cpp +++ b/src/qt_qt_wrapper.cpp @@ -571,8 +571,9 @@ TQString kdeFindDir(const TQString& suffix, const TQString& file1, const TQStrin TQString runCommand(const TQString& command) { FILE* p = popen(command.latin1(), "r"); - if ((p == NULL) || (p < 0)) + if (p == NULL) { return TQString(); + } TQString ret; while (!feof(p)) |