diff options
Diffstat (limited to 'examples/network/torrent/peerwireclient.h')
-rw-r--r-- | examples/network/torrent/peerwireclient.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/network/torrent/peerwireclient.h b/examples/network/torrent/peerwireclient.h index 96e6ac6ed2..a605ea1cbf 100644 --- a/examples/network/torrent/peerwireclient.h +++ b/examples/network/torrent/peerwireclient.h @@ -16,7 +16,7 @@ class TorrentPeer; struct TorrentBlock { - inline TorrentBlock(int p, int o, int l) + inline TorrentBlock(qint32 p, qint32 o, qint32 l) : pieceIndex(p), offset(o), length(l) { } @@ -27,9 +27,9 @@ struct TorrentBlock && length == other.length; } - int pieceIndex; - int offset; - int length; + qint32 pieceIndex; + qint32 offset; + qint32 length; }; class PeerWireClient : public QTcpSocket |