summaryrefslogtreecommitdiffstats
path: root/libktorrent/kademlia/pack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libktorrent/kademlia/pack.cpp')
-rw-r--r--libktorrent/kademlia/pack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/kademlia/pack.cpp b/libktorrent/kademlia/pack.cpp
index a5acafb..200c686 100644
--- a/libktorrent/kademlia/pack.cpp
+++ b/libktorrent/kademlia/pack.cpp
@@ -27,7 +27,7 @@ using namespace KNetwork;
namespace dht
{
- void PackBucketEntry(const KBucketEntry & e,QByteArray & ba,Uint32 off)
+ void PackBucketEntry(const KBucketEntry & e,TQByteArray & ba,Uint32 off)
{
// first check size
if (off + 26 > ba.size())
@@ -43,7 +43,7 @@ namespace dht
bt::WriteUint16(ptr,24,addr.port());
}
- KBucketEntry UnpackBucketEntry(const QByteArray & ba,Uint32 off)
+ KBucketEntry UnpackBucketEntry(const TQByteArray & ba,Uint32 off)
{
if (off + 26 > ba.size())
throw bt::Error("Not enough room in buffer");