Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment