summaryrefslogtreecommitdiffstats
path: root/dcop/dcopserver.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:47 +0000
commit8f14fb0418241694e61cb35dda95fea6d9b7830d (patch)
tree73afdda59a8126db123133d64bab78a3503657dc /dcop/dcopserver.cpp
parentffe8a83e053396df448e9413828527613ca3bd46 (diff)
downloadtdelibs-8f14fb0418241694e61cb35dda95fea6d9b7830d.tar.gz
tdelibs-8f14fb0418241694e61cb35dda95fea6d9b7830d.zip
TQt conversion fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1158447 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcop/dcopserver.cpp')
-rw-r--r--dcop/dcopserver.cpp2
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';