diff options
Diffstat (limited to 'dcop/dcopserver.cpp')
-rw-r--r-- | dcop/dcopserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dcop/dcopserver.cpp b/dcop/dcopserver.cpp index e6c60c74f..41a639b2e 100644 --- a/dcop/dcopserver.cpp +++ b/dcop/dcopserver.cpp @@ -1614,7 +1614,7 @@ static bool isRunning(const TQCString &fName, bool printNetworkId = false) if (::access(fName.data(), R_OK) == 0) { TQFile f(fName); f.open(IO_ReadOnly); - int size = QMIN( 1024, f.size() ); // protection against a huge file + int size = QMIN( (qint64)1024, f.size() ); // protection against a huge file TQCString contents( size+1 ); bool ok = f.readBlock( contents.data(), size ) == size; contents[size] = '\0'; |