summaryrefslogtreecommitdiffstats
path: root/dcop/dcopserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dcop/dcopserver.cpp')
-rw-r--r--dcop/dcopserver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dcop/dcopserver.cpp b/dcop/dcopserver.cpp
index ef37f0a32..c78664f9a 100644
--- a/dcop/dcopserver.cpp
+++ b/dcop/dcopserver.cpp
@@ -127,7 +127,7 @@ static TQCString readQCString(TQDataStream &ds)
TQ_UINT32 len;
ds >> len;
TQIODevice *device = ds.tqdevice();
- int bytesLeft = device->size()-device->at();
+ int bytesLeft = device->size()-device->tqat();
if ((bytesLeft < 0 ) || (len > (uint) bytesLeft))
{
qWarning("Corrupt data!\n");
@@ -146,7 +146,7 @@ static TQByteArray readQByteArray(TQDataStream &ds)
TQ_UINT32 len;
ds >> len;
TQIODevice *device = ds.tqdevice();
- int bytesLeft = device->size()-device->at();
+ int bytesLeft = device->size()-device->tqat();
if ((bytesLeft < 0 ) || (len > (uint) bytesLeft))
{
qWarning("Corrupt data!\n");