Commit 8e02afcf authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixes a warning about "conversion from '__int64' to 'int'" on MSVC

parent 253e15f7
......@@ -219,8 +219,9 @@ opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int
}
if (pad)
{
for (i=ptr-data;i<maxlen;i++)
data[i] = 0;
/* Fill padding with zeros. */
while (ptr<data+maxlen)
*ptr++=0;
}
return tot_size;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment