forked from OctaForge/OctaBuild
use size_t
parent
a4388487b8
commit
f6a29774da
2
main.cc
2
main.cc
|
@ -255,7 +255,7 @@ static ConstCharRange ob_compare_subst(
|
||||||
if (expanded.size() <= rep.size()) {
|
if (expanded.size() <= rep.size()) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
ostd::Size es = expanded.size();
|
size_t es = expanded.size();
|
||||||
if (expanded.slice(es - rep.size(), es) != rep) {
|
if (expanded.slice(es - rep.size(), es) != rep) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue