Skip to content

Commit

Permalink
fixed a warn of last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyu- committed Nov 18, 2017
1 parent 3fd198a commit f58dfe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fec_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ int fec_encode_manager_t::input(char *s,int len/*,int &is_first_packet*/)
for(int i=1;i<actual_data_num;i++)
{
u32_t shard_len=blob_encode.get_shard_len(i,0);
if(shard_len>fec_mtu) continue;
if(shard_len>(u32_t)fec_mtu) continue;

u32_t new_len=(shard_len+header_overhead)*(i+fec_redundant_num);
if(new_len<best_len)
Expand Down

0 comments on commit f58dfe4

Please sign in to comment.