summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/torrent/bint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/torrent/bint.cpp')
-rw-r--r--kfile-plugins/torrent/bint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kfile-plugins/torrent/bint.cpp b/kfile-plugins/torrent/bint.cpp
index 0e23731c..db73aa72 100644
--- a/kfile-plugins/torrent/bint.cpp
+++ b/kfile-plugins/torrent/bint.cpp
@@ -46,12 +46,12 @@ void BInt::init (ByteTape &tape)
tape ++; // Move to start of digits
TQByteArray &dict (tape.data());
- if (dict.tqfind('e', tape.pos()) == -1)
+ if (dict.find('e', tape.pos()) == -1)
return;
// Copy the part from the start to the e. The values in-between
// should be digits, perhaps preceded by a negative sign.
- int length = dict.tqfind('e', tape.pos()) - tape.pos();
+ int length = dict.find('e', tape.pos()) - tape.pos();
char *ptr = dict.data(); // Get start of buffer
ptr += tape.pos(); // Advance to current position in tape