提交 441fc50b authored 作者: Christopher Rienzo's avatar Christopher Rienzo

fix issue with overflow of route cost

上级 9caeb1ce
......@@ -634,7 +634,7 @@ static int to_route_cost(char *cost)
return costf * 10000;
}
if (costf >= 6.5535f) {
return 6.5535f;
return 65535;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论