@@ -164,7 +164,7 @@ func TestReorder(t *testing.T) {
164
164
for _ , entry := range sequence {
165
165
out , missing := r .Process (entry .in )
166
166
require .Equal (t , entry .out , out )
167
- require .Equal (t , uint (0 ), missing )
167
+ require .Equal (t , uint64 (0 ), missing )
168
168
}
169
169
}
170
170
@@ -173,7 +173,7 @@ func TestBufferIsFull(t *testing.T) {
173
173
r .Initialize ()
174
174
r .absPos = 25
175
175
sn := uint16 (1564 )
176
- toMiss := uint (34 )
176
+ toMiss := uint64 (34 )
177
177
178
178
out , missing := r .Process (& rtp.Packet {
179
179
Header : rtp.Header {
@@ -185,19 +185,19 @@ func TestBufferIsFull(t *testing.T) {
185
185
SequenceNumber : sn ,
186
186
},
187
187
}}, out )
188
- require .Equal (t , uint (0 ), missing )
188
+ require .Equal (t , uint64 (0 ), missing )
189
189
sn ++
190
190
191
191
var expected []* rtp.Packet
192
192
193
- for i := uint (0 ); i < 64 - toMiss ; i ++ {
193
+ for i := uint64 (0 ); i < 64 - toMiss ; i ++ {
194
194
out , missing = r .Process (& rtp.Packet {
195
195
Header : rtp.Header {
196
196
SequenceNumber : sn + uint16 (toMiss ),
197
197
},
198
198
})
199
199
require .Equal (t , []* rtp.Packet (nil ), out )
200
- require .Equal (t , uint (0 ), missing )
200
+ require .Equal (t , uint64 (0 ), missing )
201
201
202
202
expected = append (expected , & rtp.Packet {
203
203
Header : rtp.Header {
@@ -242,7 +242,7 @@ func TestReset(t *testing.T) {
242
242
},
243
243
})
244
244
require .Equal (t , []* rtp.Packet (nil ), out )
245
- require .Equal (t , uint (0 ), missing )
245
+ require .Equal (t , uint64 (0 ), missing )
246
246
sn ++
247
247
}
248
248
@@ -256,5 +256,5 @@ func TestReset(t *testing.T) {
256
256
SequenceNumber : sn ,
257
257
},
258
258
}}, out )
259
- require .Equal (t , uint (0 ), missing )
259
+ require .Equal (t , uint64 (0 ), missing )
260
260
}
0 commit comments