]> Sergey Matveev's repositories - btrtrc.git/blobdiff - metainfo/piece_key.go
Change pieceIndex to peer_protocol.Integer
[btrtrc.git] / metainfo / piece_key.go
index c476da613694057d1092e1304db6daaa6db60dd6..6ddf065c413b3ef58c28fe051e6b8c587e303fd8 100644 (file)
@@ -3,5 +3,5 @@ package metainfo
 // Uniquely identifies a piece.
 type PieceKey struct {
        InfoHash Hash
-       Index    int
+       Index    pieceIndex
 }