]> Sergey Matveev's repositories - btrtrc.git/blobdiff - request-strategy/order.go
Add and use typed roaring bitmap
[btrtrc.git] / request-strategy / order.go
index 09f1ff0c5863c7bf1a8abdd6d472b05ebc10be69..a23d5117da48e82afd0d41c146cef9d77edba2ad 100644 (file)
@@ -11,8 +11,8 @@ import (
 )
 
 type (
-       RequestIndex  uint32
-       ChunkIndex    = uint32
+       RequestIndex  uint32
+       ChunkIndex    = RequestIndex
        Request       = types.Request
        pieceIndex    = types.PieceIndex
        piecePriority = types.PiecePriority